2006-02-27 Gabor Kelemen <kelemeng@gnome.hu>
[beagle.git] / glue / tomboykeybinder.h
blob6923bd0faa0adc9f1c081f598de1bc67dc124a5f
2 #ifndef __TOMBOY_KEY_BINDER_H__
3 #define __TOMBOY_KEY_BINDER_H__
5 #include <glib/gtypes.h>
7 G_BEGIN_DECLS
9 typedef void (* TomboyBindkeyHandler) (char *keystring, gpointer user_data);
11 void tomboy_keybinder_init (void);
13 void tomboy_keybinder_bind (const char *keystring,
14 TomboyBindkeyHandler handler,
15 gpointer user_data);
17 void tomboy_keybinder_unbind (const char *keystring,
18 TomboyBindkeyHandler handler);
20 gboolean tomboy_keybinder_is_modifier (guint keycode);
22 guint32 tomboy_keybinder_get_current_event_time (void);
24 G_END_DECLS
26 #endif /* __TOMBOY_KEY_BINDER_H__ */