19 #ifndef SWGAMModSettings_H_ 20 #define SWGAMModSettings_H_ 22 #include <QJsonObject> 41 virtual QString asJson ()
override;
42 virtual QJsonObject* asJsonObject()
override;
43 virtual void fromJsonObject(QJsonObject &json)
override;
46 qint64 getInputFrequencyOffset();
47 void setInputFrequencyOffset(qint64 input_frequency_offset);
49 float getRfBandwidth();
50 void setRfBandwidth(
float rf_bandwidth);
53 void setModFactor(
float mod_factor);
55 float getToneFrequency();
56 void setToneFrequency(
float tone_frequency);
58 float getVolumeFactor();
59 void setVolumeFactor(
float volume_factor);
61 qint32 getChannelMute();
62 void setChannelMute(qint32 channel_mute);
65 void setPlayLoop(qint32 play_loop);
68 void setRgbColor(qint32 rgb_color);
71 void setTitle(QString* title);
73 QString* getAudioDeviceName();
74 void setAudioDeviceName(QString* audio_device_name);
76 qint32 getModAfInput();
77 void setModAfInput(qint32 mod_af_input);
79 qint32 getUseReverseApi();
80 void setUseReverseApi(qint32 use_reverse_api);
82 QString* getReverseApiAddress();
83 void setReverseApiAddress(QString* reverse_api_address);
85 qint32 getReverseApiPort();
86 void setReverseApiPort(qint32 reverse_api_port);
88 qint32 getReverseApiDeviceIndex();
89 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
91 qint32 getReverseApiChannelIndex();
92 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
98 virtual bool isSet()
override;
QString * audio_device_name
bool m_tone_frequency_isSet
bool m_reverse_api_address_isSet
bool m_volume_factor_isSet
bool m_reverse_api_channel_index_isSet
bool m_mod_af_input_isSet
qint32 reverse_api_device_index
bool m_channel_mute_isSet
bool m_audio_device_name_isSet
bool m_reverse_api_device_index_isSet
qint64 input_frequency_offset
qint32 reverse_api_channel_index
SWGCWKeyerSettings * cw_keyer
QString * reverse_api_address
bool m_input_frequency_offset_isSet
bool m_use_reverse_api_isSet
bool m_rf_bandwidth_isSet
bool m_reverse_api_port_isSet