#import #import "GenerateAllocateAuthorization.h" @implementation FrameworkLibAPI id api = NULL; +(void) registerAPIforNativeCalls:(id) aApi { api = aApi; } @end extern "C" { void AggregateBuilderInstallListCopyBundle(const char* flag, bool value) { if(api){ [api AggregateBuilderInstallListCopyBundle:[NSString stringWithUTF8String:flag] :value]; } } void InitializeInfoEncryptComponent(){ if(api){ [api InitializeInfoEncryptComponent]; } } // void setUrl(const char* v){} }