1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-24 10:50:29 -05:00
sdrangel/sdrbase/plugin/plugingui.h
2016-03-08 04:54:12 +01:00

31 lines
659 B
C++

#ifndef INCLUDE_PLUGINGUI_H
#define INCLUDE_PLUGINGUI_H
#include <QWidget>
#include "util/export.h"
class Message;
class SDRANGEL_API PluginGUI {
public:
PluginGUI() { };
virtual ~PluginGUI() { };
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_PLUGINGUI_H