19 #ifndef SWGWFMDemodSettings_H_ 20 #define SWGWFMDemodSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint64 getInputFrequencyOffset();
46 void setInputFrequencyOffset(qint64 input_frequency_offset);
48 float getRfBandwidth();
49 void setRfBandwidth(
float rf_bandwidth);
51 float getAfBandwidth();
52 void setAfBandwidth(
float af_bandwidth);
55 void setVolume(
float volume);
58 void setSquelch(
float squelch);
60 qint32 getAudioMute();
61 void setAudioMute(qint32 audio_mute);
64 void setRgbColor(qint32 rgb_color);
67 void setTitle(QString* title);
69 QString* getAudioDeviceName();
70 void setAudioDeviceName(QString* audio_device_name);
72 qint32 getUseReverseApi();
73 void setUseReverseApi(qint32 use_reverse_api);
75 QString* getReverseApiAddress();
76 void setReverseApiAddress(QString* reverse_api_address);
78 qint32 getReverseApiPort();
79 void setReverseApiPort(qint32 reverse_api_port);
81 qint32 getReverseApiDeviceIndex();
82 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
84 qint32 getReverseApiChannelIndex();
85 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
88 virtual bool isSet()
override;
bool m_af_bandwidth_isSet
bool m_audio_device_name_isSet
qint32 reverse_api_device_index
qint64 input_frequency_offset
QString * audio_device_name
bool m_input_frequency_offset_isSet
bool m_rf_bandwidth_isSet
qint32 reverse_api_channel_index
QString * reverse_api_address
bool m_reverse_api_port_isSet
bool m_reverse_api_device_index_isSet
bool m_use_reverse_api_isSet
bool m_reverse_api_channel_index_isSet
bool m_reverse_api_address_isSet