1 /*****************************************************************************
2 * callbacks.h : pda plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
5 * $Id: pda_callbacks.h,v 1.12 2003/12/07 18:58:38 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 );
30 void PlaylistRebuildListStore( GtkListStore *p_list, playlist_t * p_playlist );
34 onPDADeleteEvent (GtkWidget *widget,
39 onRewind (GtkButton *button,
43 onPause (GtkButton *button,
47 onPlay (GtkButton *button,
51 onStop (GtkButton *button,
55 onForward (GtkButton *button,
59 onAbout (GtkButton *button,
63 SliderRelease (GtkWidget *widget,
64 GdkEventButton *event,
68 SliderPress (GtkWidget *widget,
69 GdkEventButton *event,
73 onFileListRow (GtkTreeView *treeview,
75 GtkTreeViewColumn *column,
79 onAddFileToPlaylist (GtkButton *button,
83 onAddNetworkPlaylist (GtkButton *button,
87 onAddCameraToPlaylist (GtkButton *button,
91 PlaylistEvent (GtkWidget *widget,
96 onPlaylistColumnsChanged (GtkTreeView *treeview,
100 onPlaylistRowSelected (GtkTreeView *treeview,
101 gboolean start_editing,
105 onPlaylistRow (GtkTreeView *treeview,
107 GtkTreeViewColumn *column,
111 onUpdatePlaylist (GtkButton *button,
115 onDeletePlaylist (GtkButton *button,
119 onClearPlaylist (GtkButton *button,
123 onPreferenceSave (GtkButton *button,
127 onPreferenceApply (GtkButton *button,
131 onPreferenceCancel (GtkButton *button,
136 NetworkBuildMRL (GtkEditable *editable,
141 onAddTranscodeToPlaylist (GtkButton *button,
146 onEntryStdAccessChanged (GtkEditable *editable,
150 SliderMove (GtkRange *range,
151 GtkScrollType scroll,