#ifndef GTL_GUI_CONFIG_HW_WIDGET_DAC_H #define GTL_GUI_CONFIG_HW_WIDGET_DAC_H #include "gtl_gui_config_hw_widget.h" #include "hw/gtl_hw.h" namespace Ui { class config_hw_widget_dac; } namespace gtl { namespace gui { namespace config { class hw_widget_dac : public hw_widget { Q_OBJECT public: explicit hw_widget_dac(QString plugins_path, QWidget *parent = nullptr); ~hw_widget_dac(); void set_type(QString type); QString type() const; protected: virtual hw::device* create_device() override; virtual QString id() override; virtual qreal rate() override; private: Ui::config_hw_widget_dac *ui; gtl::hw::hw _hw; }; } } } #endif // GTL_GUI_CONFIG_HW_WIDGET_DAC_H