1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-19 22:28:35 -04:00

GUI segregation: renamed PluginGUI interface to PluginInstanceUI

This commit is contained in:
f4exb
2017-09-03 19:55:00 +02:00
parent e281d8fd32
commit a6d6a717ae
116 changed files with 191 additions and 194 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef INCLUDE_PLUGININSTANCEUI_H
#define INCLUDE_PLUGININSTANCEUI_H
#include <QtGlobal>
#include <QString>
#include <QByteArray>
#include "util/export.h"
class Message;
class SDRANGEL_API PluginInstanceUI {
public:
PluginInstanceUI() { };
virtual ~PluginInstanceUI() { };
virtual void destroy() = 0;
virtual void setName(const QString& name) = 0;
virtual QString getName() const = 0;
virtual void resetToDefaults() = 0;
virtual qint64 getCenterFrequency() const = 0;
virtual void setCenterFrequency(qint64 centerFrequency) = 0;
virtual QByteArray serialize() const = 0;
virtual bool deserialize(const QByteArray& data) = 0;
virtual bool handleMessage(const Message& message) = 0;
};
#endif // INCLUDE_PLUGININSTANCEUI_H