#ifndef LYWSDKProtocolIOS_h
#define LYWSDKProtocolIOS_h
#include "LYWSDKInterfaceProtocol.h"
#include "LYWSDKInterfaceIOS.h"
class LYWSDKProtocolIOS: public LYWSDKInterfaceProtocol
{
private:
id<LYWSDKInterfaceIOS> lywSDKDispatcher;
protected:
LYWSDKProtocolIOS();
~LYWSDKProtocolIOS();
public:
static LYWSDKProtocolIOS* getInstance();
virtual void initSDK(LYWSDKCallBackListener* listener, const char* funcName, const char* param);
virtual void callFunctionWithParam(const char* funcName, const char* param);
NSMutableDictionary* jParam2Dictionary(const char* jParam);
const char* dictionary2jParam(NSMutableDictionary* dic);
};
#endif /* LYWSDKProtocolIOS_hpp */
#define LYWSDKProtocolIOS_h
#include "LYWSDKInterfaceProtocol.h"
#include "LYWSDKInterfaceIOS.h"
class LYWSDKProtocolIOS: public LYWSDKInterfaceProtocol
{
private:
id<LYWSDKInterfaceIOS> lywSDKDispatcher;
protected:
LYWSDKProtocolIOS();
~LYWSDKProtocolIOS();
public:
static LYWSDKProtocolIOS* getInstance();
virtual void initSDK(LYWSDKCallBackListener* listener, const char* funcName, const char* param);
virtual void callFunctionWithParam(const char* funcName, const char* param);
NSMutableDictionary* jParam2Dictionary(const char* jParam);
const char* dictionary2jParam(NSMutableDictionary* dic);
};
#endif /* LYWSDKProtocolIOS_hpp */
本文介绍了一个名为LYWSDKProtocolIOS的类,该类继承自LYWSDKInterfaceProtocol,用于实现iOS平台上的SDK接口协议。文章详细阐述了类中的主要成员变量及方法,包括初始化SDK、调用函数等关键功能。

被折叠的 条评论
为什么被折叠?



