maemo.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * maemo.h: private Maemo Interface Description
00003  *****************************************************************************
00004  * Copyright (C) 2008 the VideoLAN team
00005  * $Id: d30e499c7115d0effdb533552ad3780c508d7d0e $
00006  *
00007  * Authors: Antoine Lejeune <phytos@videolan.org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 #ifdef HAVE_CONFIG_H
00025 # include "config.h"
00026 #endif
00027 
00028 #include <hildon/hildon-program.h>
00029 #include <hildon/hildon-seekbar.h>
00030 #include <hildon/hildon-banner.h>
00031 
00032 #include <vlc_interface.h>
00033 #include <vlc_playlist.h>
00034 #include <vlc_input.h>
00035 #include <vlc_vout.h>
00036 
00037 struct intf_sys_t
00038 {
00039     vlc_thread_t thread;
00040 
00041     playlist_t *p_playlist;
00042     input_thread_t *p_input;
00043     vlc_sem_t ready;
00044 
00045     HildonWindow  *p_main_window;
00046     HildonSeekbar *p_seekbar;
00047     GtkWidget     *p_play_button;
00048 
00049     GtkListStore  *p_playlist_store;
00050     GtkWidget     *p_playlist_window;
00051 
00052     int i_event;
00053     vlc_spinlock_t event_lock;
00054 
00055     GtkWidget *p_video_window;
00056     uint32_t xid; /* X11 windows ID */
00057     bool b_fullscreen;
00058 
00059     GtkWidget *p_control_window;
00060 
00061     GtkMenuItem *menu_input;
00062     GtkMenuItem *menu_audio;
00063     GtkMenuItem *menu_video;
00064 };
00065 
00066 GtkWidget *create_menu( intf_thread_t *p_intf );

Generated on Tue May 25 08:04:56 2010 for VLC by  doxygen 1.5.6