![]() |
Sayonara Player
|
#include <InfoDialogContainer.h>
An interface used to abstract the usage of the info dialog. An implementing class has to return the interpretation of a MetaDataList and the MetaDataList itself. The implementing class may call the show functions to open the info dialog at its specific tab.
Friends | |
class | GUI_InfoDialog |
Public Member Functions | |
void | info_dialog_closed () |
this function should not be called from outside. This function is triggered when the info dialog was closed. | |
Protected Types | |
enum | EditTab { TabText, TabCover, TabTagsFromPath } |
Protected Member Functions | |
virtual MD::Interpretation | metadata_interpretation () const =0 |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks More... | |
virtual MetaDataList | info_dialog_data () const =0 |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here More... | |
virtual void | show_info () |
Show the Info dialogs' info tab. | |
virtual void | show_lyrics () |
Show the Info dialogs' lyrics tab. | |
virtual void | show_edit () |
Show the tag editor. | |
|
protectedpure virtual |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here
Implemented in GUI_ControlsBase, Library::ItemView, and GUI_DirectoryWidget.
|
protectedpure virtual |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks
Implemented in GUI_ControlsBase, Library::ItemView, and GUI_DirectoryWidget.