]> git.sur5r.net Git - i3/i3/blob - include/config_directives.h
add first bits of a (custom) config parser
[i3/i3] / include / config_directives.h
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * commands.c: all command functions (see commands_parser.c)
8  *
9  */
10 #ifndef I3_CONFIG_DIRECTIVES_H
11 #define I3_CONFIG_DIRECTIVES_H
12
13 //#include "config_parser.h"
14
15 /** The beginning of the prototype for every cmd_ function. */
16 #define I3_CFG Match *current_match, struct CommandResult *cmd_output
17
18 /**
19  *
20  */
21 void cfg_font(I3_CFG, const char *font);
22
23 void cfg_mode_binding(I3_CFG, const char *bindtype, const char *modifiers, const char *key, const char *command);
24
25 void cfg_enter_mode(I3_CFG, const char *mode);
26
27 void cfg_exec(I3_CFG, const char *exectype, const char *no_startup_id, const char *command);
28
29 #endif