]> git.sesse.net Git - vlc/blob - plugins/gnome/intf_gnome_thread.h
. autod�tection des plugins
[vlc] / plugins / gnome / intf_gnome_thread.h
1 /*****************************************************************************
2  * intf_gnome_thread.h: Gnome thread
3  *****************************************************************************
4  * Copyright (C) 1999, 2000 VideoLAN
5  *
6  * Authors:
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  * 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Boston, MA 02111-1307, USA.
21  *****************************************************************************/
22
23 /*****************************************************************************
24  * intf_sys_t: description and status of Gnome interface
25  *****************************************************************************/
26 typedef struct gnome_thread_s
27 {
28     vlc_thread_t        thread_id;                /* id for thread functions */
29     boolean_t           b_die;                                 /* `die' flag */
30     boolean_t           b_error;                             /* `error' flag */
31
32     /* special actions */
33     vlc_mutex_t         change_lock;                      /* the change lock */
34
35     boolean_t           b_activity_changed;       /* vout activity toggled ? */
36     boolean_t           b_activity;                         /* vout activity */
37
38     boolean_t           b_popup_changed;                   /* display menu ? */
39
40     boolean_t           b_window_changed;        /* window display toggled ? */
41     boolean_t           b_window;                        /* display window ? */
42
43     boolean_t           b_playlist_changed;    /* playlist display toggled ? */
44     boolean_t           b_playlist;                    /* display playlist ? */
45
46     /* windows and widgets */
47     GtkWidget *         p_window;                             /* main window */
48     GtkWidget *         p_popup;                               /* popup menu */
49     GtkWidget *         p_playlist;                              /* playlist */
50     GtkWidget *         p_about;                             /* about window */
51
52 } gnome_thread_t;
53
54 /*****************************************************************************
55  * Local prototypes
56  *****************************************************************************/
57 void        GnomeThread              ( gnome_thread_t *p_gnome );
58