DPS/DataPlatform/XmlEditEventModule.h

29 lines
673 B
C++

#pragma once
#include "BaseEventModule.h"
class XmlEditEventModule :public BaseEventModule
{
public:
XmlEditEventModule(QObject* parent, DataManager* manager);
~XmlEditEventModule();
public:
/*获取所有xml信息*/
bool getAllxmlFiles(json& parameter);
/*新建xml文件*/
bool addxmlFile(json& parameter);
/*保存 xml模板文件*/
bool savexmlFile(json& parameter);
/*删除xml模板*/
bool deletexmlFile(json& parameter);
/*获取当前xml文件信息*/
bool getCurrentFile(json& parameter);
/*导出xml模板信息*/
bool exportxmlFile(json& parameter);
/*打开导出文件所在位置*/
bool openxmlDir(json& parameter);
bool onMessage(const std::string& eventName, json& parameter);
};