]> git.sesse.net Git - vlc/blob - modules/gui/hildon/maemo_input.h
Forgot to update these when adding the omxil module
[vlc] / modules / gui / hildon / maemo_input.h
1 /*****************************************************************************
2 * maemo_input.h : Input handling header file for the maemo plugin.
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 #include <gtk/gtk.h>
25
26 #include <vlc_common.h>
27 #include <vlc_interface.h>
28
29 #define EVENT_ITEM_STATE_CHANGE (1<<0)
30 #define EVENT_PLAYLIST_CURRENT  (1<<1)
31 #define EVENT_ACTIVITY          (1<<2)
32 #define EVENT_ITEM_CHANGED      (1<<3)
33 #define EVENT_INTF_CHANGED      (1<<4)
34
35 gboolean process_events( gpointer data );
36
37 void set_input( intf_thread_t *p_intf, input_thread_t *p_input );
38 void delete_input( intf_thread_t *p_intf );
39
40 int playlist_current_cb( vlc_object_t *p_this, const char *psz_var,
41                          vlc_value_t oldval, vlc_value_t newval, void *param );
42 int activity_cb( vlc_object_t *p_this, const char *psz_var,
43                  vlc_value_t oldval, vlc_value_t newval, void *param );
44 void item_changed_pl( intf_thread_t *p_intf );
45
46 int item_changed_cb( vlc_object_t *p_this, const char *psz_var,
47                      vlc_value_t oldval, vlc_value_t newval, void *param );
48 void item_changed( intf_thread_t *p_intf );
49
50 int interface_changed_cb( vlc_object_t *p_this, const char *psz_var,
51                           vlc_value_t oldval, vlc_value_t newval, void *param );
52 void update_position( intf_thread_t *p_intf );