comparison src/evdev-plug/ed_bindings_store.h @ 422:5e46b57d1eda trunk

[svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
author giacomo
date Sun, 14 Jan 2007 17:55:24 -0800
parents
children 581a057768c2
comparison
equal deleted inserted replaced
421:1a82af4f13cf 422:5e46b57d1eda
1 /*
2 *
3 * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2007
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 */
20
21 #ifndef _I_ED_BINDINGS_STORE_H
22 #define _I_ED_BINDINGS_STORE_H 1
23
24 #include "ed_types.h"
25 #include "ed_common.h"
26 #include <glib.h>
27
28 typedef void (*ed_bindings_store_foreach_func)( ed_inputevent_t * , gint , gpointer , gpointer );
29
30 gpointer ed_bindings_store_new ( void );
31 gint ed_bindings_store_insert ( gpointer , ed_inputevent_t * , gint );
32 gint ed_bindings_store_foreach ( gpointer , ed_bindings_store_foreach_func , gpointer , gpointer );
33 guint ed_bindings_store_size ( gpointer );
34 gboolean ed_bindings_store_lookup( gpointer , ed_inputevent_t * , gint * );
35 gint ed_bindings_store_delete ( gpointer );
36
37 #endif /* !_I_ED_BINDINGS_STORE_H */