~ubuntu-branches/debian/sid/guake/sid

« back to all changes in this revision

Viewing changes to src/globalhotkeys/keybinder.h

  • Committer: Package Import Robot
  • Author(s): Daniel Echeverry
  • Date: 2015-04-26 19:15:06 UTC
  • mfrom: (1.1.7)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20150426191506-mo8037vk6pueer5b
Tags: upstream-0.7.0
ImportĀ upstreamĀ versionĀ 0.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef __KEY_BINDER_H__
3
 
#define __KEY_BINDER_H__
4
 
 
5
 
#include <glib.h>
6
 
 
7
 
G_BEGIN_DECLS
8
 
 
9
 
typedef void (* BindkeyHandler) (char *keystring, gpointer user_data);
10
 
 
11
 
void keybinder_init   (void);
12
 
 
13
 
gboolean keybinder_bind   (const char           *keystring,
14
 
                              BindkeyHandler  handler,
15
 
                              gpointer              user_data);
16
 
 
17
 
void keybinder_unbind (const char           *keystring,
18
 
                              BindkeyHandler  handler);
19
 
 
20
 
gboolean keybinder_is_modifier (guint keycode);
21
 
 
22
 
guint32 keybinder_get_current_event_time (void);
23
 
 
24
 
G_END_DECLS
25
 
 
26
 
#endif /* __KEY_BINDER_H__ */
27