diff options
author | minus <minus@mnus.de> | 2015-08-16 22:02:16 +0200 |
---|---|---|
committer | minus <minus@mnus.de> | 2015-08-20 15:24:33 +0200 |
commit | 5d99215469088790d9b07a2932fd266133c8dc0b (patch) | |
tree | 2c20a76b257de7c0cdec2e996e5589c1b71b8fa0 /include/ipc.h | |
parent | very basic IPC implementation (diff) | |
download | sway-5d99215469088790d9b07a2932fd266133c8dc0b.tar.gz sway-5d99215469088790d9b07a2932fd266133c8dc0b.tar.zst sway-5d99215469088790d9b07a2932fd266133c8dc0b.zip |
added i3-ipc support/parsing
Diffstat (limited to 'include/ipc.h')
-rw-r--r-- | include/ipc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h index aab9cf0c..25d2fc61 100644 --- a/include/ipc.h +++ b/include/ipc.h | |||
@@ -1,6 +1,17 @@ | |||
1 | #ifndef _SWAY_IPC_H | 1 | #ifndef _SWAY_IPC_H |
2 | #define _SWAY_IPC_H | 2 | #define _SWAY_IPC_H |
3 | 3 | ||
4 | enum ipc_command_type { | ||
5 | IPC_COMMAND = 0, | ||
6 | IPC_GET_WORKSPACES = 1, | ||
7 | IPC_SUBSCRIBE = 2, | ||
8 | IPC_GET_OUTPUTS = 3, | ||
9 | IPC_GET_TREE = 4, | ||
10 | IPC_GET_MARKS = 5, | ||
11 | IPC_GET_BAR_CONFIG = 6, | ||
12 | IPC_GET_VERSION = 7, | ||
13 | }; | ||
14 | |||
4 | void init_ipc(void); | 15 | void init_ipc(void); |
5 | 16 | ||
6 | #endif | 17 | #endif |