1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-13 19:28:41 -04:00

RigCtrl plugin: Removed QMainWindow dependency in plugin interface. Get API URI from MainWindow. Cosmetic changes

This commit is contained in:
f4exb
2020-09-10 02:43:28 +02:00
parent 40bd691a45
commit d9ec9f2787
14 changed files with 119 additions and 124 deletions
+7 -1
View File
@@ -24,7 +24,6 @@
struct RigCtrlSettings {
bool m_enabled;
QString m_APIAddress;
int m_rigCtrlPort;
int m_maxFrequencyOffset;
int m_deviceIndex;
@@ -37,6 +36,13 @@ struct RigCtrlSettings {
void resetToDefaults();
QByteArray serialize() const;
bool deserialize(const QByteArray& data);
private:
static const bool m_EnabledDefault;
static const int m_RigCtrlPortDefault;
static const int m_MaxFrequencyOffsetDefault;
static const int m_DeviceIndexDefault;
static const int m_ChannelIndexDefault;
};
#endif /* INCLUDE_RIGCTRLSETTINGS_H */