1 #ifndef __plugin_keyboard_tree_h
2 #define __plugin_keyboard_tree_h
4 #include "../../kernel/action.h"
7 typedef struct KeyBindingTree {
11 GSList *actions; /* list of Action pointers */
13 /* the next binding in the tree at the same level */
14 struct KeyBindingTree *next_sibling;
15 /* the first child of this binding (next binding in a chained sequence).*/
16 struct KeyBindingTree *first_child;
19 void tree_destroy(KeyBindingTree *tree);
20 KeyBindingTree *tree_build(GList *keylist);
21 void tree_assimilate(KeyBindingTree *node);
22 KeyBindingTree *tree_find(KeyBindingTree *search, gboolean *conflict);