19 #ifndef SWGAMDemodSettings_H_ 20 #define SWGAMDemodSettings_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);
52 void setSquelch(
float squelch);
55 void setVolume(
float volume);
57 qint32 getAudioMute();
58 void setAudioMute(qint32 audio_mute);
60 qint32 getBandpassEnable();
61 void setBandpassEnable(qint32 bandpass_enable);
64 void setRgbColor(qint32 rgb_color);
67 void setTitle(QString* title);
69 QString* getAudioDeviceName();
70 void setAudioDeviceName(QString* audio_device_name);
73 void setPll(qint32 pll);
75 qint32 getSyncAmOperation();
76 void setSyncAmOperation(qint32 sync_am_operation);
78 qint32 getStreamIndex();
79 void setStreamIndex(qint32 stream_index);
81 qint32 getUseReverseApi();
82 void setUseReverseApi(qint32 use_reverse_api);
84 QString* getReverseApiAddress();
85 void setReverseApiAddress(QString* reverse_api_address);
87 qint32 getReverseApiPort();
88 void setReverseApiPort(qint32 reverse_api_port);
90 qint32 getReverseApiDeviceIndex();
91 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
93 qint32 getReverseApiChannelIndex();
94 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
97 virtual bool isSet()
override;
bool m_audio_device_name_isSet
bool m_reverse_api_channel_index_isSet
bool m_rf_bandwidth_isSet
bool m_stream_index_isSet
bool m_reverse_api_port_isSet
bool m_reverse_api_device_index_isSet
QString * reverse_api_address
qint32 reverse_api_device_index
bool m_use_reverse_api_isSet
bool m_input_frequency_offset_isSet
qint32 reverse_api_channel_index
bool m_sync_am_operation_isSet
bool m_reverse_api_address_isSet
QString * audio_device_name
qint64 input_frequency_offset
bool m_bandpass_enable_isSet