]> git.sesse.net Git - vlc/blob - plugins/gtk/gtk_callbacks.h
-Changes and bugfixes to make network work in VLAN Broadcast mode.
[vlc] / plugins / gtk / gtk_callbacks.h
1 /*****************************************************************************
2  * gtk_callbacks.h : Callbacks for the gtk plugin.
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 VideoLAN
5  * $Id: gtk_callbacks.h,v 1.14 2001/05/30 05:19:03 stef Exp $
6  *
7  * Authors: Samuel Hocevar <sam@zoy.org>
8  *          Stéphane Borel <stef@via.ecp.fr>
9  *      
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  * 
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
24
25 /*****************************************************************************
26  * Preamble
27  *****************************************************************************/
28 #include <gtk/gtk.h>
29
30 #include "config.h"
31
32 #include "gtk_control.h"
33 #include "gtk_menu.h"
34 #include "gtk_open.h"
35 #include "gtk_modules.h"
36 #include "gtk_playlist.h"
37 #include "gtk_preferences.h"
38
39 /* General glade callbacks */
40
41 /*****************************************************************************
42  *  main window callbacks: specific prototypes are in headers listed before
43  *****************************************************************************/
44
45 gboolean GtkExit                ( GtkWidget *, GdkEventButton *, gpointer );
46 gboolean GtkWindowToggle        ( GtkWidget *, GdkEventButton *, gpointer );
47 gboolean GtkFullscreen          ( GtkWidget *, GdkEventButton *, gpointer );
48 gboolean GtkSliderRelease       ( GtkWidget *, GdkEventButton *, gpointer );
49 gboolean GtkSliderPress         ( GtkWidget *, GdkEventButton *, gpointer );
50 gboolean GtkWindowDelete        ( GtkWidget * widget, GdkEvent *, gpointer );
51 gboolean GtkJumpShow            ( GtkWidget *, GdkEventButton *, gpointer );
52 gboolean GtkAboutShow           ( GtkWidget *, GdkEventButton *, gpointer );
53 void     GtkTitlePrev           ( GtkButton * button, gpointer );
54 void     GtkTitleNext           ( GtkButton * button, gpointer );
55 void     GtkChapterPrev         ( GtkButton *, gpointer );
56 void     GtkChapterNext         ( GtkButton * button, gpointer );
57 void     GtkAboutOk             ( GtkButton *, gpointer );
58 void     GtkWindowDrag          ( GtkWidget *, GdkDragContext *,
59                                   gint, gint, GtkSelectionData *,
60                                   guint , guint, gpointer );
61 void     GtkJumpOk              ( GtkButton * button, gpointer );
62 void     GtkJumpCancel          ( GtkButton * button, gpointer user_data );
63 void     GtkExitActivate        ( GtkMenuItem *, gpointer );
64 void     GtkWindowToggleActivate( GtkMenuItem *, gpointer );
65 void     GtkFullscreenActivate  ( GtkMenuItem *, gpointer );
66 void     GtkAboutActivate       ( GtkMenuItem *, gpointer );
67 void     GtkJumpActivate        ( GtkMenuItem *, gpointer );
68
69 void     GtkNetworkJoin         ( GtkEditable *, gpointer );
70 void     GtkChannelGo           ( GtkButton *, gpointer );