]> git.sesse.net Git - vlc/blob - plugins/gtk/gtk_playlist.h
* modified the gtk interface to save an empty <string> option as a NULL pointer
[vlc] / plugins / gtk / gtk_playlist.h
1 /*****************************************************************************
2  * gtk_playlist.h : Playlist functions for the Gtk plugin.
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 VideoLAN
5  * $Id: gtk_playlist.h,v 1.5 2001/05/31 03:23:24 sam Exp $
6  *
7  * Authors: Pierre Baillet <oct@zoy.org>
8  *          Stéphane Borel <stef@via.ecp.fr>
9  *      
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  * 
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
24
25 void GtkPlaylistDeleteAll     ( GtkMenuItem *, gpointer );
26 void GtkPlaylistDeleteSelected( GtkMenuItem *, gpointer );
27 void GtkPlaylistCrop          ( GtkMenuItem *, gpointer );
28 void GtkPlaylistInvert        ( GtkMenuItem *, gpointer );
29 void GtkPlaylistSelect        ( GtkMenuItem *, gpointer );
30 void GtkPlaylistOk            ( GtkButton *, gpointer );
31 void GtkPlaylistCancel        ( GtkButton *, gpointer );
32 void GtkPlaylistAddUrl        ( GtkMenuItem *, gpointer );
33
34 gint     GtkCompareItems      ( gconstpointer, gconstpointer );
35 int      GtkHasValidExtension ( gchar * );
36 GList *  GtkReadFiles         ( gchar * );
37
38 gboolean GtkPlaylistShow      ( GtkWidget *, GdkEventButton *, gpointer );
39 gboolean GtkPlaylistPrev      ( GtkWidget *, GdkEventButton *, gpointer );
40 gboolean GtkPlaylistNext      ( GtkWidget *, GdkEventButton *, gpointer );
41 gboolean GtkPlaylistDragMotion( GtkWidget *, GdkDragContext *,
42                                 gint, gint, guint, gpointer );
43 gboolean GtkPlaylistEvent     ( GtkWidget *, GdkEvent *, gpointer );
44 void     GtkPlaylistDragData  ( GtkWidget *, GdkDragContext *,
45                                 gint, gint, GtkSelectionData *,
46                                 guint, guint, gpointer  );
47 void     GtkDeleteGListItem   ( gpointer, gpointer );
48
49 void     GtkPlaylistActivate  ( GtkMenuItem *, gpointer );
50 void     GtkNextActivate      ( GtkMenuItem *, gpointer );
51 void     GtkPrevActivate      ( GtkMenuItem *, gpointer );
52
53
54 struct intf_thread_s;
55 struct playlist_s;
56
57 void    GtkDropDataReceived   ( struct intf_thread_s *, GtkSelectionData *,
58                                 guint, int );
59 int     GtkAppendList         ( struct playlist_s *, int, GList * );
60 void    GtkRebuildCList       ( GtkCList *, struct playlist_s * );
61 void    GtkPlayListManage     ( struct intf_thread_s * );
62