mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-12 10:48:42 -04:00
Feature plugins framework initial commit
This commit is contained in:
@@ -20,6 +20,8 @@ struct SDRBASE_API PluginDescriptor {
|
||||
class PluginAPI;
|
||||
class DeviceAPI;
|
||||
class DeviceUISet;
|
||||
class FeatureUISet;
|
||||
class WebAPIAdapterInterface;
|
||||
class PluginInstanceGUI;
|
||||
class QWidget;
|
||||
class DeviceSampleSource;
|
||||
@@ -31,6 +33,7 @@ class MIMOChannel;
|
||||
class ChannelAPI;
|
||||
class ChannelWebAPIAdapter;
|
||||
class DeviceWebAPIAdapter;
|
||||
class Feature;
|
||||
|
||||
class SDRBASE_API PluginInterface {
|
||||
public:
|
||||
@@ -316,6 +319,18 @@ public:
|
||||
virtual DeviceWebAPIAdapter* createDeviceWebAPIAdapter() const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Features
|
||||
|
||||
virtual PluginInstanceGUI* createFeatureGUI(FeatureUISet *featureUISet, Feature *feature) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual Feature* createFeature(WebAPIAdapterInterface *webAPIAdapterInterface) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
Q_DECLARE_INTERFACE(PluginInterface, "SDRangel.PluginInterface/0.1")
|
||||
|
||||
Reference in New Issue
Block a user