/** * @file encoderwavesettings.h * @author Josep Maria AntolĂ­n * @date Feb 27 2017 * @brief storage of setting for wave/aiff encoder */ #ifndef ENCODERWAVESETTINGS_H #define ENCODERWAVESETTINGS_H #include "encoder/encoderrecordingsettings.h" #include "encoder/encoder.h" #include class EncoderWaveSettings : public EncoderRecordingSettings { public: EncoderWaveSettings(UserSettingsPointer pConfig, QString format); ~EncoderWaveSettings() override = default; // Returns the list of radio options to show to the user QList getOptionGroups() const override; // Selects the option by its index. If it is a single-element option, // index 0 means disabled and 1 enabled. void setGroupOption(QString groupCode, int optionIndex) override; // Return the selected option of the group. If it is a single-element option, // 0 means disabled and 1 enabled. int getSelectedOption(QString groupCode) const override; // Returns the format subtype of this encoder settings. QString getFormat() const override{ return m_format; } static const QString BITS_GROUP; private: QList m_radioList; UserSettingsPointer m_pConfig; QString m_format; }; #endif // ENCODERWAVESETTINGS_H