1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 05:11:49 -05:00
sdrangel/sdrbase/plugin/plugininstancegui.h

37 lines
813 B
C
Raw Normal View History

#ifndef INCLUDE_PLUGININSTANCEUI_H
#define INCLUDE_PLUGININSTANCEUI_H
#include <QtGlobal>
#include <QString>
#include <QByteArray>
#include "export.h"
class Message;
class MessageQueue;
2018-03-03 14:23:38 -05:00
class SDRBASE_API PluginInstanceGUI {
public:
PluginInstanceGUI() { };
virtual ~PluginInstanceGUI() { };
2015-08-17 02:29:34 -04:00
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 MessageQueue* getInputMessageQueue() = 0;
2015-08-17 02:29:34 -04:00
virtual bool handleMessage(const Message& message) = 0;
};
#endif // INCLUDE_PLUGININSTANCEUI_H