]> git.sesse.net Git - vlc/blob - modules/gui/hildon/maemo.h
Make the maemo interface a bit more useable
[vlc] / modules / gui / hildon / maemo.h
1 /*****************************************************************************
2  * maemo.h: private Maemo Interface Description
3  *****************************************************************************
4  * Copyright (C) 2008 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Antoine Lejeune <phytos@videolan.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 #ifdef HAVE_CONFIG_H
25 # include "config.h"
26 #endif
27
28 #include <hildon/hildon-program.h>
29 #include <hildon/hildon-seekbar.h>
30 #include <hildon/hildon-banner.h>
31
32 #include <vlc_playlist.h>
33 #include <vlc_input.h>
34 #include <vlc_vout.h>
35
36 struct intf_sys_t
37 {
38     vlc_thread_t thread;
39
40     playlist_t *p_playlist;
41     input_thread_t *p_input;
42     vlc_sem_t ready;
43
44     HildonWindow  *p_main_window;
45     HildonSeekbar *p_seekbar;
46     GtkWidget     *p_play_button;
47
48     GtkListStore  *p_playlist_store;
49     GtkWidget     *p_playlist_window;
50
51     int i_event;
52     vlc_spinlock_t event_lock;
53
54     GtkWidget *p_video_window;
55     uint32_t xid; /* X11 windows ID */
56     bool b_fullscreen;
57
58     GtkWidget *p_control_window;
59 };