maemo_input.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * maemo_input.h : Input handling header file for the maemo plugin.
00003  *****************************************************************************
00004  * Copyright (C) 2008 the VideoLAN team
00005  * $Id: 2286c698f9cde38942ad35683bfd4b674921852a $
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 #include <gtk/gtk.h>
00025 
00026 #include <vlc_common.h>
00027 #include <vlc_interface.h>
00028 
00029 #define EVENT_ITEM_STATE_CHANGE (1<<0)
00030 #define EVENT_PLAYLIST_CURRENT  (1<<1)
00031 #define EVENT_ACTIVITY          (1<<2)
00032 #define EVENT_ITEM_CHANGED      (1<<3)
00033 #define EVENT_INTF_CHANGED      (1<<4)
00034 
00035 void post_event( intf_thread_t *p_intf, int event );
00036 
00037 void set_input( intf_thread_t *p_intf, input_thread_t *p_input );
00038 void delete_input( intf_thread_t *p_intf );
00039 
00040 int playlist_current_cb( vlc_object_t *p_this, const char *psz_var,
00041                          vlc_value_t oldval, vlc_value_t newval, void *param );
00042 int activity_cb( vlc_object_t *p_this, const char *psz_var,
00043                  vlc_value_t oldval, vlc_value_t newval, void *param );
00044 
00045 int item_changed_cb( vlc_object_t *p_this, const char *psz_var,
00046                      vlc_value_t oldval, vlc_value_t newval, void *param );

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