mirror of https://github.com/axmolengine/axmol.git
22 lines
611 B
C++
22 lines
611 B
C++
|
|
#ifndef __Simulator__RuntimeCCSImpl__
|
|
#define __Simulator__RuntimeCCSImpl__
|
|
|
|
#include "RuntimeProtocol.h"
|
|
|
|
class RuntimeCCSImpl : public RuntimeProtocol
|
|
{
|
|
public:
|
|
static RuntimeCCSImpl *create();
|
|
|
|
void onStartDebuger(const rapidjson::Document& dArgParse, rapidjson::Document& dReplyParse);
|
|
void onReload(const rapidjson::Document& dArgParse, rapidjson::Document& dReplyParse);
|
|
void startScript(const std::string& file);
|
|
|
|
private:
|
|
void loadCSDProject(const std::string& file);
|
|
void loadCSBProject(const std::string& file);
|
|
};
|
|
|
|
#endif /* defined(__Simulator__RuntimeCCSImpl__) */
|