mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-08 17:04:46 -04:00
git clone git://git.osmocom.org/sdrangelove.git
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef INCLUDE_PLUGINGUI_H
|
||||
#define INCLUDE_PLUGINGUI_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "util/export.h"
|
||||
|
||||
class Message;
|
||||
|
||||
class SDRANGELOVE_API PluginGUI {
|
||||
public:
|
||||
PluginGUI() { };
|
||||
virtual void destroy() = 0;
|
||||
|
||||
virtual void setName(const QString& name) = 0;
|
||||
|
||||
virtual void resetToDefaults() = 0;
|
||||
|
||||
virtual QByteArray serializeGeneral() const;
|
||||
virtual bool deserializeGeneral(const QByteArray& data);
|
||||
virtual quint64 getCenterFrequency() const;
|
||||
|
||||
virtual QByteArray serialize() const = 0;
|
||||
virtual bool deserialize(const QByteArray& data) = 0;
|
||||
|
||||
virtual bool handleMessage(Message* message) = 0;
|
||||
};
|
||||
|
||||
#endif // INCLUDE_PLUGINGUI_H
|
||||
Reference in New Issue
Block a user