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

27 lines
555 B
C++

#ifndef INCLUDE_PLUGININSTANCEUI_H
#define INCLUDE_PLUGININSTANCEUI_H
#include <QtGlobal>
#include <QString>
#include <QByteArray>
#include "export.h"
class Message;
class MessageQueue;
class SDRBASE_API PluginInstanceGUI {
public:
PluginInstanceGUI() { };
virtual ~PluginInstanceGUI() { };
virtual void destroy() = 0;
virtual void resetToDefaults() = 0;
virtual QByteArray serialize() const = 0;
virtual bool deserialize(const QByteArray& data) = 0;
virtual MessageQueue* getInputMessageQueue() = 0;
};
#endif // INCLUDE_PLUGININSTANCEUI_H