/* * Copyright 2016 (c) Anna Schumaker. */ #ifndef OCARINA_GUI_PLAYLIST_H #define OCARINA_GUI_PLAYLIST_H #include #include #include #include #include #include /* Called to initialize the GUI playlist code. */ void gui_playlist_init(); /* Called to access the right-click menu. */ static inline GtkMenu *gui_rc_menu() { return GTK_MENU(gui_builder_widget("rc_menu")); } /* Called to acces the "Add to Other Playlist" menu item. */ static inline GtkMenuItem *gui_rc_add_to_other() { return GTK_MENU_ITEM(gui_builder_widget("rc_add_to_other")); } /* Playlist callbacks passed to core_init() */ extern struct playlist_callbacks playlist_cb; #endif /* OCARINA_GUI_PLAYLIST_H */