This commit is contained in:
2023-12-06 14:51:43 +05:30
parent 133f0413f2
commit 5df6ee8ae5
530 changed files with 26339 additions and 12407 deletions

View File

@@ -0,0 +1,33 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class VendorBridge;
FOUNDATION_EXPORT VendorBridge *GetVendor(const char *appName, const char *appBundle, const char *appURL);
FOUNDATION_EXPORT const char *VendorGetName(void);
FOUNDATION_EXPORT const char *VendorGetBundle(void);
FOUNDATION_EXPORT const char *VendorGetPolicyUrl(void);
FOUNDATION_EXPORT const char *VendorGetPurposeIds(void);
FOUNDATION_EXPORT const char *VendorGetFeatureIds(void);
FOUNDATION_EXPORT const char *VendorGetLegitimateInterestPurposeIds(void);
FOUNDATION_EXPORT const char *GetConChar(NSString *message);
FOUNDATION_EXPORT NSArray <NSNumber *> *ArrayFromCommaSeparatedString(NSString *string);
FOUNDATION_EXPORT NSString *CommaSeparatedStringFromArray(NSArray <NSNumber *> *array);
FOUNDATION_EXPORT NSArray <NSNumber *> *ArrayFromCommaSeparatedString(NSString *string);
FOUNDATION_EXPORT void SetPurposeIds(const char *purposeIds);
FOUNDATION_EXPORT void SetFeatureIds(const char *featureIds);
FOUNDATION_EXPORT void SetLegitimateInterestPurposeIds(const char *legitimateInterestPurposeIds);
@interface VendorBridge : NSObject
@property (nonatomic, copy, readonly) NSString *bundle;
+ (instancetype)sharedVendorBridge;
- (void)registerCustomVendor;
@end
NS_ASSUME_NONNULL_END