aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-08-16 22:02:16 +0200
committerFurkan Sahin <furkan-dev@proton.me>2015-08-16 22:02:16 +0200
commit3e0623937f2050f8361f5aafe4278ed4df55a0ac (patch)
tree2c20a76b257de7c0cdec2e996e5589c1b71b8fa0 /include/ipc.h
parent33f3d3ab106126b4c3373e24d0fb41feec492816 (diff)
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 @@
#ifndef _SWAY_IPC_H
#define _SWAY_IPC_H
+enum ipc_command_type {
+ IPC_COMMAND = 0,
+ IPC_GET_WORKSPACES = 1,
+ IPC_SUBSCRIBE = 2,
+ IPC_GET_OUTPUTS = 3,
+ IPC_GET_TREE = 4,
+ IPC_GET_MARKS = 5,
+ IPC_GET_BAR_CONFIG = 6,
+ IPC_GET_VERSION = 7,
+};
+
void init_ipc(void);
#endif