]> icculus.org git repositories - dana/openbox.git/blob - plugins/keyboard/keyboard.h
build 'openbox3' instead of 'ob3'
[dana/openbox.git] / plugins / keyboard / keyboard.h
1 #ifndef __plugin_keyboard_keybaord_h
2 #define __plugin_keyboard_keybaord_h
3
4 #include <glib.h>
5
6 #include "../../kernel/action.h"
7
8 typedef struct KeyBindingTree {
9     guint state;
10     guint key;
11     GList *keylist;
12     Action *action;
13
14     /* the next binding in the tree at the same level */
15     struct KeyBindingTree *next_sibling; 
16     /* the first child of this binding (next binding in a chained sequence).*/
17     struct KeyBindingTree *first_child;
18 } KeyBindingTree;
19
20 extern KeyBindingTree *firstnode;
21
22 guint keyboard_translate_modifier(char *str);
23
24 #endif