1 /*****************************************************************************
2 * callbacks.h : pda plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
5 * $Id: pda_callbacks.h,v 1.8 2003/11/09 21:29:52 jpsaman Exp $
7 * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
29 void ReadDirectory( GtkListStore *p_list, char *psz_dir );
31 void MediaURLOpenChanged( GtkWidget *widget, gchar *psz_url );
33 void PlaylistRebuildListStore( GtkListStore *p_list, playlist_t * p_playlist );
37 onPDADeleteEvent (GtkWidget *widget,
42 onRewind (GtkButton *button,
46 onPause (GtkButton *button,
50 onPlay (GtkButton *button,
54 onStop (GtkButton *button,
58 onForward (GtkButton *button,
62 onAbout (GtkButton *button,
66 SliderRelease (GtkWidget *widget,
67 GdkEventButton *event,
71 SliderPress (GtkWidget *widget,
72 GdkEventButton *event,
76 onFileListRow (GtkTreeView *treeview,
78 GtkTreeViewColumn *column,
82 onFileListColumns (GtkTreeView *treeview,
86 onFileListRowSelected (GtkTreeView *treeview,
87 gboolean start_editing,
91 onAddFileToPlaylist (GtkButton *button,
95 onAddNetworkPlaylist (GtkButton *button,
99 onAddCameraToPlaylist (GtkButton *button,
103 PlaylistEvent (GtkWidget *widget,
108 onPlaylistColumnsChanged (GtkTreeView *treeview,
112 onPlaylistRowSelected (GtkTreeView *treeview,
113 gboolean start_editing,
117 onPlaylistRow (GtkTreeView *treeview,
119 GtkTreeViewColumn *column,
123 onUpdatePlaylist (GtkButton *button,
127 onDeletePlaylist (GtkButton *button,
131 onClearPlaylist (GtkButton *button,
135 onPreferenceSave (GtkButton *button,
139 onPreferenceApply (GtkButton *button,
143 onPreferenceCancel (GtkButton *button,
148 onNetworkMRLAdd (GtkContainer *container,
153 NetworkBuildMRL (GtkEditable *editable,
158 onAddTranscodeToPlaylist (GtkButton *button,