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.4 2001/05/19 00:39:30 stef Exp $
7 * Authors: Pierre Baillet <oct@zoy.org>
8 * Stéphane Borel <stef@via.ecp.fr>
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.
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.
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 *****************************************************************************/
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 );
34 gint GtkCompareItems ( gconstpointer, gconstpointer );
35 int GtkHasValidExtension ( gchar * );
36 GList * GtkReadFiles ( gchar * );
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, uint, 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 );
49 void GtkPlaylistActivate ( GtkMenuItem *, gpointer );
50 void GtkNextActivate ( GtkMenuItem *, gpointer );
51 void GtkPrevActivate ( GtkMenuItem *, gpointer );
57 void GtkDropDataReceived ( struct intf_thread_s *, GtkSelectionData *,
59 int GtkAppendList ( struct playlist_s *, int, GList * );
60 void GtkRebuildCList ( GtkCList *, struct playlist_s * );
61 void GtkPlayListManage ( struct intf_thread_s * );