]> git.sesse.net Git - vlc/blob - modules/gui/pda/pda_callbacks.h
d8563beb755bfc1c52c434393c2bacd58d6a7334
[vlc] / modules / gui / pda / pda_callbacks.h
1 /*****************************************************************************
2  * callbacks.h : pda plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2003 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jean-Paul Saman <jpsaman _at_ videolan _dot_ org>
8  *
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.
13  *
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.
18  *
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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #include <gtk/gtk.h>
25
26 #include <vlc_common.h>
27 #include <vlc_interface.h>
28
29 void ReadDirectory( intf_thread_t *p_intf, GtkListStore *p_list, char *psz_dir );
30 void PlaylistRebuildListStore( intf_thread_t *p_intf, GtkListStore *p_list, playlist_t * p_playlist );
31
32
33 gboolean
34 onPDADeleteEvent                       (GtkWidget       *widget,
35                                         GdkEvent        *event,
36                                         gpointer         user_data);
37
38 void
39 onRewind                               (GtkButton       *button,
40                                         gpointer         user_data);
41
42 void
43 onPause                                (GtkButton       *button,
44                                         gpointer         user_data);
45
46 void
47 onPlay                                 (GtkButton       *button,
48                                         gpointer         user_data);
49
50 void
51 onStop                                 (GtkButton       *button,
52                                         gpointer         user_data);
53
54 void
55 onForward                              (GtkButton       *button,
56                                         gpointer         user_data);
57
58 void
59 onAbout                                (GtkButton       *button,
60                                         gpointer         user_data);
61
62 gboolean
63 SliderRelease                          (GtkWidget       *widget,
64                                         GdkEventButton  *event,
65                                         gpointer         user_data);
66
67 gboolean
68 SliderPress                            (GtkWidget       *widget,
69                                         GdkEventButton  *event,
70                                         gpointer         user_data);
71
72 void
73 onFileListRow                          (GtkTreeView     *treeview,
74                                         GtkTreePath     *path,
75                                         GtkTreeViewColumn *column,
76                                         gpointer         user_data);
77
78 void
79 onAddFileToPlaylist                    (GtkButton       *button,
80                                         gpointer         user_data);
81
82 void
83 onAddNetworkPlaylist                   (GtkButton       *button,
84                                         gpointer         user_data);
85
86 void
87 onAddCameraToPlaylist                  (GtkButton       *button,
88                                         gpointer         user_data);
89
90 gboolean
91 PlaylistEvent                          (GtkWidget       *widget,
92                                         GdkEvent        *event,
93                                         gpointer         user_data);
94
95 void
96 onPlaylistColumnsChanged               (GtkTreeView     *treeview,
97                                         gpointer         user_data);
98
99 gboolean
100 onPlaylistRowSelected                  (GtkTreeView     *treeview,
101                                         gboolean         start_editing,
102                                         gpointer         user_data);
103
104 void
105 onPlaylistRow                          (GtkTreeView     *treeview,
106                                         GtkTreePath     *path,
107                                         GtkTreeViewColumn *column,
108                                         gpointer         user_data);
109
110 void
111 onUpdatePlaylist                       (GtkButton       *button,
112                                         gpointer         user_data);
113
114 void
115 onDeletePlaylist                       (GtkButton       *button,
116                                         gpointer         user_data);
117
118 void
119 onClearPlaylist                        (GtkButton       *button,
120                                         gpointer         user_data);
121
122 void
123 onPreferenceSave                       (GtkButton       *button,
124                                         gpointer         user_data);
125
126 void
127 onPreferenceApply                      (GtkButton       *button,
128                                         gpointer         user_data);
129
130 void
131 onPreferenceCancel                     (GtkButton       *button,
132                                         gpointer         user_data);
133
134
135 void
136 NetworkBuildMRL                        (GtkEditable     *editable,
137                                         gpointer         user_data);
138
139
140 void
141 onAddTranscodeToPlaylist               (GtkButton       *button,
142                                         gpointer         user_data);
143
144
145 void
146 onEntryStdAccessChanged                (GtkEditable     *editable,
147                                         gpointer         user_data);
148
149 void
150 SliderMove                             (GtkRange        *range,
151                                         GtkScrollType    scroll,
152                                         gpointer         user_data);
153