DPS/DataPlatform/BaseTransform.h

25 lines
392 B
C
Raw Normal View History

2025-06-23 10:41:33 +08:00
#pragma once
#include <QString>
#include <QObject>
#include "json.hpp"
using json = nlohmann::json;
class BaseTransform: public QObject
{
Q_OBJECT
public:
BaseTransform();
~BaseTransform();
virtual bool openFile(QString path) = 0;
virtual void closeFile(QString path) = 0;
virtual bool importData(QString& errMsg) = 0;
virtual bool exportData(json& parameter) = 0;
private:
};