#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 */