19 #ifndef SWGNFMDemodSettings_H_ 20 #define SWGNFMDemodSettings_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);
54 qint32 getFmDeviation();
55 void setFmDeviation(qint32 fm_deviation);
57 qint32 getSquelchGate();
58 void setSquelchGate(qint32 squelch_gate);
60 qint32 getDeltaSquelch();
61 void setDeltaSquelch(qint32 delta_squelch);
64 void setSquelch(
float squelch);
67 void setVolume(
float volume);
70 void setCtcssOn(qint32 ctcss_on);
73 void setHighPass(qint32 high_pass);
75 qint32 getAudioMute();
76 void setAudioMute(qint32 audio_mute);
78 qint32 getCtcssIndex();
79 void setCtcssIndex(qint32 ctcss_index);
82 void setRgbColor(qint32 rgb_color);
85 void setTitle(QString* title);
87 QString* getAudioDeviceName();
88 void setAudioDeviceName(QString* audio_device_name);
90 qint32 getUseReverseApi();
91 void setUseReverseApi(qint32 use_reverse_api);
93 QString* getReverseApiAddress();
94 void setReverseApiAddress(QString* reverse_api_address);
96 qint32 getReverseApiPort();
97 void setReverseApiPort(qint32 reverse_api_port);
99 qint32 getReverseApiDeviceIndex();
100 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
102 qint32 getReverseApiChannelIndex();
103 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
106 virtual bool isSet()
override;
QString * reverse_api_address
bool m_input_frequency_offset_isSet
bool m_af_bandwidth_isSet
bool m_reverse_api_channel_index_isSet
bool m_audio_device_name_isSet
bool m_rf_bandwidth_isSet
bool m_reverse_api_address_isSet
bool m_use_reverse_api_isSet
qint32 reverse_api_channel_index
bool m_delta_squelch_isSet
bool m_reverse_api_port_isSet
bool m_fm_deviation_isSet
qint64 input_frequency_offset
bool m_reverse_api_device_index_isSet
bool m_squelch_gate_isSet
qint32 reverse_api_device_index
QString * audio_device_name