#ifndef LYWSDKPlatformManager_h
#define LYWSDKPlatformManager_h
#include "LYWSDKInterfaceProtocol.h"
{
public:
LYWSDKPlatformManager();
~LYWSDKPlatformManager();
static LYWSDKPlatformManager* getInstance();
LYWSDKInterfaceProtocol* getProtocol();
};
#endif
#define LYWSDKPlatformManager_h
#include "LYWSDKInterfaceProtocol.h"
// 平台管理类
class LYWSDKPlatformManager{
public:
LYWSDKPlatformManager();
~LYWSDKPlatformManager();
static LYWSDKPlatformManager* getInstance();
LYWSDKInterfaceProtocol* getProtocol();
};
#endif
本文介绍了一个名为LYWSDKPlatformManager的平台管理类,该类提供了获取实例及协议接口的方法。LYWSDKPlatformManager类包含静态方法getInstance用于获取单例对象,以及getProtocol方法用于返回LYWSDKInterfaceProtocol类型的协议接口。

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



