2 #ifndef __TOMBOY_KEY_BINDER_H__
3 #define __TOMBOY_KEY_BINDER_H__
5 #include <glib/gtypes.h>
9 typedef void (* TomboyBindkeyHandler) (char *keystring, gpointer user_data);
11 void tomboy_keybinder_init (void);
13 gboolean tomboy_keybinder_bind (const char *keystring,
14 TomboyBindkeyHandler handler,
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);
26 #endif /* __TOMBOY_KEY_BINDER_H__ */