aboutsummaryrefslogtreecommitdiffstats
path: root/include/ipc.h
diff options
context:
space:
mode:
authorLibravatar minus <minus@mnus.de>2015-08-16 22:02:16 +0200
committerLibravatar minus <minus@mnus.de>2015-08-20 15:24:33 +0200
commit5d99215469088790d9b07a2932fd266133c8dc0b (patch)
tree2c20a76b257de7c0cdec2e996e5589c1b71b8fa0 /include/ipc.h
parentvery basic IPC implementation (diff)
downloadsway-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.h11
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
4enum 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
4void init_ipc(void); 15void init_ipc(void);
5 16
6#endif 17#endif