zcancmder_v2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
600 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #pragma once
  2. #include <list>
  3. #include "api/api.hpp"
  4. #include "api/i_cmdparser.hpp"
  5. #include "cmdid.hpp"
  6. #include "zmodule_device_manager.hpp"
  7. namespace iflytop {
  8. using namespace std;
  9. class ZModuleDeviceScriptCmderPaser {
  10. private:
  11. ICmdParser* m_cmdParser = nullptr;
  12. ZModuleDeviceManager* m_deviceManager;
  13. public:
  14. void initialize(ICmdParser* cancmder, ZModuleDeviceManager* deviceManager);
  15. ICmdParser* getCmdParser() { return m_cmdParser; }
  16. ZModuleDeviceManager* getDeviceManager() { return m_deviceManager; }
  17. private:
  18. void regfn();
  19. };
  20. } // namespace iflytop