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
27 lines
600 B
#pragma once
|
|
|
|
#include <list>
|
|
|
|
#include "api/api.hpp"
|
|
#include "api/i_cmdparser.hpp"
|
|
#include "cmdid.hpp"
|
|
#include "zmodule_device_manager.hpp"
|
|
|
|
namespace iflytop {
|
|
using namespace std;
|
|
class ZModuleDeviceScriptCmderPaser {
|
|
private:
|
|
ICmdParser* m_cmdParser = nullptr;
|
|
ZModuleDeviceManager* m_deviceManager;
|
|
|
|
|
|
public:
|
|
void initialize(ICmdParser* cancmder, ZModuleDeviceManager* deviceManager);
|
|
|
|
ICmdParser* getCmdParser() { return m_cmdParser; }
|
|
ZModuleDeviceManager* getDeviceManager() { return m_deviceManager; }
|
|
private:
|
|
void regfn();
|
|
};
|
|
|
|
} // namespace iflytop
|