Add new gmpc-data-view (DOES NOT WORK COMPLETELY)
[gmpc.git] / src / browsers / playlist3-playlist-editor.h
blob566abbf2bafe4e099725b69e9d28d6c664e451f4
1 /* Gnome Music Player Client (GMPC)
2 * Copyright (C) 2004-2012 Qball Cow <qball@gmpclient.org>
3 * Project homepage: http://gmpclient.org/
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #ifndef __FAVORITES_H__
21 #define __FAVORITES_H__
23 #define FAV_CONFIG "playlist-plugin"
25 void playlist_editor_init(void);
26 void playlist_editor_destroy(void);
27 /* connection changed callback */
28 void playlist_editor_conn_changed(MpdObj *mi, int connect, void *userdata);
29 /* browser */
30 void playlist_editor_browser_add(GtkWidget *cat_tree);
31 void playlist_editor_browser_selected(GtkWidget *container);
32 void playlist_editor_browser_unselected(GtkWidget *container);
33 void playlist_editor_browser_changed(GtkWidget *tree, GtkTreeIter *iter);
34 int playlist_editor_browser_cat_menu(GtkWidget *menu, int type, GtkWidget *tree, GdkEventButton *event);
35 void playlist_editor_browser_row_activated(GtkTreeView *tree, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data);
36 /**
39 void playlist_editor_right_mouse(GtkWidget *menu, void (*add_to_playlist)(GtkWidget *menu, gpointer data), gpointer cb_data);
40 void playlist_editor_set_disabled(void);
41 #endif