]> git.sesse.net Git - vlc/blob - modules/gui/gtk/playlist.h
Avoid \r\n problems between platforms
[vlc] / modules / gui / gtk / playlist.h
1 /*****************************************************************************
2  * gtk_playlist.h : Playlist functions for the Gtk plugin.
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 VideoLAN
5  * $Id$
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
37 gboolean GtkPlaylistShow      ( GtkWidget *, gpointer );
38 gboolean GtkPlaylistPrev      ( GtkWidget *, gpointer );
39 gboolean GtkPlaylistNext      ( GtkWidget *, gpointer );
40 gboolean GtkPlaylistDragMotion( GtkWidget *, GdkDragContext *,
41                                 gint, gint, guint, gpointer );
42 gboolean GtkPlaylistEvent     ( GtkWidget *, GdkEvent *, gpointer );
43 void     GtkPlaylistDragData  ( GtkWidget *, GdkDragContext *,
44                                 gint, gint, GtkSelectionData *,
45                                 guint, guint, gpointer  );
46 void     GtkDeleteGListItem   ( gpointer, gpointer );
47
48 void GtkDropDataReceived ( intf_thread_t *, GtkSelectionData *, guint, int );
49 int  GtkAppendList       ( playlist_t *, int, GList * );
50 void GtkRebuildCList     ( GtkCList *, playlist_t * );
51 void GtkPlayListManage   ( intf_thread_t * );
52