RuntimeCCSImpl.h 611 B

123456789101112131415161718192021
  1. #ifndef __Simulator__RuntimeCCSImpl__
  2. #define __Simulator__RuntimeCCSImpl__
  3. #include "RuntimeProtocol.h"
  4. class RuntimeCCSImpl : public RuntimeProtocol
  5. {
  6. public:
  7. static RuntimeCCSImpl *create();
  8. void onStartDebuger(const rapidjson::Document& dArgParse, rapidjson::Document& dReplyParse);
  9. void onReload(const rapidjson::Document& dArgParse, rapidjson::Document& dReplyParse);
  10. void startScript(const std::string& file);
  11. private:
  12. void loadCSDProject(const std::string& file);
  13. void loadCSBProject(const std::string& file);
  14. };
  15. #endif /* defined(__Simulator__RuntimeCCSImpl__) */