Tighten top bar metadata browser a bit
[gmpc.git] / src / playlist3.h
blobe8484f3ccaa8d35c5304a8d39fa6ff37b34a8b50
1 #ifndef __PLAYLIST3_H__
2 #define __PLAYLIST3_H__
4 #include <libmpd/libmpd.h>
6 extern GtkTreeModel *pl3_tree;
7 extern GtkListStore *pl3_store;
10 void pl3_update_go_menu(void);
11 void pl3_show_window(void);
12 void pl3_toggle_hidden(void);
13 void create_playlist3(void);
14 void pl3_push_statusbar_message(char *mesg);
15 void pl3_push_rsb_message(gchar *string);
16 void pl3_cat_sel_changed(void);
17 int pl3_hide(void);
18 int pl3_window_key_press_event(GtkWidget *mw, GdkEventKey *event);
19 int pl3_cat_get_selected_browser(void);
20 void pl3_updating_changed(MpdObj *mi, int updating);
21 void playlist_connection_changed(MpdObj *mi, int connect);
22 gboolean playlist3_get_active(void);
26 typedef enum {
27 PL_COLUMN_ICON,
28 PL_COLUMN_MARKUP,
29 PL_COLUMN_ARTIST,
30 PL_COLUMN_TRACK,
31 PL_COLUMN_TITLEFILE,
32 PL_COLUMN_FILEBASENAME,
33 PL_COLUMN_ALBUM,
34 PL_COLUMN_GENRE,
35 PL_COLUMN_COMPOSER,
36 PL_COLUMN_PERFORMER,
37 PL_COLUMN_LENGTH,
38 PL_COLUMN_DISC,
39 PL_COLUMN_COMMENT,
40 PL_COLUMN_DATE,
41 PL_COLUMN_SONGPOS,
42 PL_COLUMN_TOTAL
43 }PlaylistColumns;
46 typedef enum {
47 PLAYLIST_NO_ZOOM,
48 PLAYLIST_SMALL,
49 PLAYLIST_MINI,
50 PLAYLIST_ZOOM_LEVELS
51 }PlaylistZoom;
53 void playlist3_destroy(void);
54 void playlist_editor_fill_list(void);
56 gboolean playlist3_show_playtime(gulong playtime);
57 #endif