mirror of
https://github.com/IndeemaSoftware/QSimpleScada.git
synced 2026-10-17 05:11:10 +08:00
24 lines
403 B
C++
24 lines
403 B
C++
#ifndef BASEPREFENTITY_H
|
|
#define BASEPREFENTITY_H
|
|
|
|
#include <QObject>
|
|
#include <QXmlStreamReader>
|
|
|
|
class QScadaBasePrefEntity : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit QScadaBasePrefEntity(QObject *parent = 0);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
virtual void initFromXml(const QByteArray &xmlData) = 0;
|
|
|
|
virtual void saveXmlToFile(const QString &filePath) = 0;
|
|
|
|
};
|
|
|
|
#endif // BASEPREFENTITY_H
|