DPS/DataPlatform/XmlEditEventModule.h

29 lines
717 B
C
Raw Permalink Normal View History

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