1 /*****************************************************************************
2 * callbacks.h : pda plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
5 * $Id: pda_callbacks.h,v 1.10 2003/11/30 23:19:13 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( intf_thread_t *p_intf, 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 onAddFileToPlaylist (GtkButton *button,
86 onAddNetworkPlaylist (GtkButton *button,
90 onAddCameraToPlaylist (GtkButton *button,
94 PlaylistEvent (GtkWidget *widget,
99 onPlaylistColumnsChanged (GtkTreeView *treeview,
103 onPlaylistRowSelected (GtkTreeView *treeview,
104 gboolean start_editing,
108 onPlaylistRow (GtkTreeView *treeview,
110 GtkTreeViewColumn *column,
114 onUpdatePlaylist (GtkButton *button,
118 onDeletePlaylist (GtkButton *button,
122 onClearPlaylist (GtkButton *button,
126 onPreferenceSave (GtkButton *button,
130 onPreferenceApply (GtkButton *button,
134 onPreferenceCancel (GtkButton *button,
139 NetworkBuildMRL (GtkEditable *editable,
144 onAddTranscodeToPlaylist (GtkButton *button,
149 onEntryStdAccessChanged (GtkEditable *editable,