2
** cairo-dock-keybinder.h
3
** Login : <ctaf42@localhost.localdomain>
4
** Started on Thu Jan 31 03:57:17 2008 Cedric GESTES
8
** - Cedric GESTES <ctaf42@gmail.com>
12
** Copyright (C) 2008 Cedric GESTES
13
** This program is free software; you can redistribute it and/or modify
14
** it under the terms of the GNU General Public License as published by
15
** the Free Software Foundation; either version 3 of the License, or
16
** (at your option) any later version.
18
** This program is distributed in the hope that it will be useful,
19
** but WITHOUT ANY WARRANTY; without even the implied warranty of
20
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
** GNU General Public License for more details.
23
** You should have received a copy of the GNU General Public License
24
** along with this program; if not, write to the Free Software
25
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27
* imported from tomboy_key_binder.h
31
#ifndef __CD_KEY_BINDER_H__
32
#define __CD_KEY_BINDER_H__
34
#include <glib/gtypes.h>
38
typedef void (* CDBindkeyHandler) (const char *keystring, gpointer user_data);
40
void cd_keybinder_init (void);
41
void cd_keybinder_stop (void);
44
gboolean cd_keybinder_bind (const char *keystring,
45
CDBindkeyHandler handler,
48
void cd_keybinder_unbind (const char *keystring,
49
CDBindkeyHandler handler);
51
gboolean cd_keybinder_is_modifier (guint keycode);
53
guint32 cd_keybinder_get_current_event_time (void);
55
gboolean cairo_dock_simulate_key_sequence (gchar *cKeyString);
59
#endif /* __CD_KEY_BINDER_H__ */