diff options
author | Zandr Martin <zandrmartin@gmail.com> | 2016-07-04 13:34:44 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin@gmail.com> | 2016-07-04 13:34:44 -0500 |
commit | 15a324b0d3c0d15405286794d2c8b88b764835cf (patch) | |
tree | b2c2cf4c7e7d509b515fd6b93aa34f959fb666e1 /include/ipc-json.h | |
parent | Spawn windows as floating if they have a parent (diff) | |
download | sway-15a324b0d3c0d15405286794d2c8b88b764835cf.tar.gz sway-15a324b0d3c0d15405286794d2c8b88b764835cf.tar.zst sway-15a324b0d3c0d15405286794d2c8b88b764835cf.zip |
implement `get_tree` command
Diffstat (limited to 'include/ipc-json.h')
-rw-r--r-- | include/ipc-json.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/ipc-json.h b/include/ipc-json.h new file mode 100644 index 00000000..f90d801e --- /dev/null +++ b/include/ipc-json.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef _SWAY_IPC_JSON_H | ||
2 | #define _SWAY_IPC_JSON_H | ||
3 | |||
4 | #include <json-c/json.h> | ||
5 | #include "config.h" | ||
6 | #include "container.h" | ||
7 | |||
8 | json_object *ipc_json_get_version(); | ||
9 | json_object *ipc_json_describe_bar_config(struct bar_config *bar); | ||
10 | json_object *ipc_json_describe_container(swayc_t *c); | ||
11 | json_object *ipc_json_describe_container_recursive(swayc_t *c); | ||
12 | |||
13 | #endif | ||