25 lines
392 B
C++
25 lines
392 B
C++
#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:
|
|
|
|
};
|
|
|