]> git.sesse.net Git - vlc/blob - modules/gui/pda/pda_callbacks.h
PDA Interface:
[vlc] / modules / gui / pda / pda_callbacks.h
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 $
6  *
7  * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #include <gtk/gtk.h>
25
26 #include <vlc/vlc.h>
27 #include <vlc/intf.h>
28
29 void ReadDirectory( GtkListStore *p_list, char *psz_dir );
30 #if 0
31 void MediaURLOpenChanged( GtkWidget *widget, gchar *psz_url );
32 #endif
33 void PlaylistRebuildListStore( GtkListStore *p_list, playlist_t * p_playlist );
34
35
36 gboolean
37 onPDADeleteEvent                       (GtkWidget       *widget,
38                                         GdkEvent        *event,
39                                         gpointer         user_data);
40
41 void
42 onRewind                               (GtkButton       *button,
43                                         gpointer         user_data);
44
45 void
46 onPause                                (GtkButton       *button,
47                                         gpointer         user_data);
48
49 void
50 onPlay                                 (GtkButton       *button,
51                                         gpointer         user_data);
52
53 void
54 onStop                                 (GtkButton       *button,
55                                         gpointer         user_data);
56
57 void
58 onForward                              (GtkButton       *button,
59                                         gpointer         user_data);
60
61 void
62 onAbout                                (GtkButton       *button,
63                                         gpointer         user_data);
64
65 gboolean
66 SliderRelease                          (GtkWidget       *widget,
67                                         GdkEventButton  *event,
68                                         gpointer         user_data);
69
70 gboolean
71 SliderPress                            (GtkWidget       *widget,
72                                         GdkEventButton  *event,
73                                         gpointer         user_data);
74
75 void
76 onFileListRow                          (GtkTreeView     *treeview,
77                                         GtkTreePath     *path,
78                                         GtkTreeViewColumn *column,
79                                         gpointer         user_data);
80
81 void
82 onFileListColumns                      (GtkTreeView     *treeview,
83                                         gpointer         user_data);
84
85 gboolean
86 onFileListRowSelected                  (GtkTreeView     *treeview,
87                                         gboolean         start_editing,
88                                         gpointer         user_data);
89
90 void
91 onAddFileToPlaylist                    (GtkButton       *button,
92                                         gpointer         user_data);
93
94 void
95 onAddNetworkPlaylist                   (GtkButton       *button,
96                                         gpointer         user_data);
97
98 void
99 onAddCameraToPlaylist                  (GtkButton       *button,
100                                         gpointer         user_data);
101
102 gboolean
103 PlaylistEvent                          (GtkWidget       *widget,
104                                         GdkEvent        *event,
105                                         gpointer         user_data);
106
107 void
108 onPlaylistColumnsChanged               (GtkTreeView     *treeview,
109                                         gpointer         user_data);
110
111 gboolean
112 onPlaylistRowSelected                  (GtkTreeView     *treeview,
113                                         gboolean         start_editing,
114                                         gpointer         user_data);
115
116 void
117 onPlaylistRow                          (GtkTreeView     *treeview,
118                                         GtkTreePath     *path,
119                                         GtkTreeViewColumn *column,
120                                         gpointer         user_data);
121
122 void
123 onUpdatePlaylist                       (GtkButton       *button,
124                                         gpointer         user_data);
125
126 void
127 onDeletePlaylist                       (GtkButton       *button,
128                                         gpointer         user_data);
129
130 void
131 onClearPlaylist                        (GtkButton       *button,
132                                         gpointer         user_data);
133
134 void
135 onPreferenceSave                       (GtkButton       *button,
136                                         gpointer         user_data);
137
138 void
139 onPreferenceApply                      (GtkButton       *button,
140                                         gpointer         user_data);
141
142 void
143 onPreferenceCancel                     (GtkButton       *button,
144                                         gpointer         user_data);
145
146
147 void
148 onNetworkMRLAdd                        (GtkContainer    *container,
149                                         GtkWidget       *widget,
150                                         gpointer         user_data);
151
152 void
153 NetworkBuildMRL                        (GtkEditable     *editable,
154                                         gpointer         user_data);
155
156
157 void
158 onAddTranscodeToPlaylist               (GtkButton       *button,
159                                         gpointer         user_data);
160