1 Star 1 Fork 2

Lazdog / CurlClient

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.cpp 697 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lazdog 提交于 2017-09-25 17:22 . 添加平台接口
#if __cplusplus < 201103L
#error "should use C++11 implementation"
#endif //__cplusplus
#include "CoocaaADResource.cfg.h"
#include "CoocaaADServer.h"
// #include "LazUtil/FileSystem.h"
#include "LazUtil/Log.h"
#include "PlatformServer.h"
// #include <string>
using namespace std;
using namespace AD::NetWork;
using namespace AD::Platform;
int main()
{
auto pl = new PlatformServer();
if (pl->StartServer())
{
LazUtil_logD("Coocaa Client startting!!");
auto server = new CoocaaADServer(pl);
server->RegisterTask(CoocaaADSpaceID::POWERON);
// server->RegisterTask(CoocaaADSpaceID::SCREEN_SAVER);
server->StartServer();
delete server;
}
}
C++
1
https://gitee.com/Lazdog/CurlClient.git
git@gitee.com:Lazdog/CurlClient.git
Lazdog
CurlClient
CurlClient
master

搜索帮助