酷店

IOpenSecurityGuardPlugin.h 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // IOpenSecurityGuardPlugin.h
  3. // SecurityGuardSDK
  4. //
  5. // Created by lifengzhong on 15/11/6.
  6. // Copyright © 2015年 Li Fengzhong. All rights reserved.
  7. //
  8. #ifndef IOpenSecurityGuardPlugin_h
  9. #define IOpenSecurityGuardPlugin_h
  10. #define PLUGIN_META_INFO_NAME @"name"
  11. #define PLUGIN_META_INFO_VERSON @"version"
  12. #define PLUGIN_META_INFO_PLATFORM @"platform"
  13. #define PLUGIN_META_INFO_DEPENDENCY @"dependency"
  14. #define PLUGIN_META_INFO_DEPENDENCY_NAME @"dependency_name"
  15. #define PLUGIN_META_INFO_DEPENDENCY_MIN_VERSION @"dependency_min_version"
  16. #define PLUGIN_META_INFO_DEPENDENCY_OPTIONAL @"dependency_optional"
  17. #define PLUGIN_META_INFO_RESOURCE @"resource"
  18. #define PLUGIN_META_INFO_RESOURCE_NAME @"resource_name"
  19. #define PLUGIN_META_INFO_RESOURCE_MIN_VERSION @"resource_min_version"
  20. #define PLUGIN_META_INFO_PLATFORM_UNI @0
  21. #define PLUGIN_META_INFO_PLATFORM_EXT @1
  22. #define PLUGIN_META_INFO_PLATFORM_INT @2
  23. #define PLUGIN_META_INFO_DEPENDENCY_OPTIONAL_YES @1
  24. #define PLUGIN_META_INFO_DEPENDENCY_OPTIONAL_NO @0
  25. @protocol IOpenSecurityGuardPlugin <NSObject>
  26. + (NSDictionary*) getMetaInfo;
  27. + (NSInteger) initializePlugin: (NSValue*) initParam;
  28. + (void*) pluginEntry;
  29. @end
  30. @protocol IOpenSecurityGuardPluginInterface <NSObject>
  31. - (Class) getMetaClass;
  32. @end
  33. #endif /* IOpenSecurityGuardPlugin_h */