24 #ifndef GUI_SOMAFMLIBRARY_CONTAINER_H 25 #define GUI_SOMAFMLIBRARY_CONTAINER_H 27 #include "Interfaces/LibraryInterface/LibraryContainer/LibraryContainer.h" 39 Q_PLUGIN_METADATA(IID
"com.sayonara-player.somafm_library")
54 QWidget*
get_ui()
const override;
QWidget * get_ui() const override
Should return the UI for the library view.
Definition: SomaFMLibraryContainer.h:34
void init_ui() override
Should initialize the ui. The ui constructor should be called within this function.
QString get_name() const override
Should return an untranslated name used for identifying this widget.
Definition: GUI_SomaFM.h:39
QString get_display_name() const override
Should return the translated name displayed in the library view combobox.
An interface class needed when implementing a library plugin.
Definition: LibraryContainer.h:40
QMenu * get_menu() override
return actions menu (may be nullptr). The title does not have to be set
QIcon get_icon() const override
Should return the icon displayed in the library view combobox.
QComboBox * get_libchooser() override
Should return the library chooser combo box.