implement get_tree command

This commit is contained in:
Zandr Martin 2016-07-04 13:34:44 -05:00
parent 7144fb9fc3
commit 15a324b0d3
No known key found for this signature in database
GPG key ID: AA2BB8EF77F7BBDC
6 changed files with 385 additions and 152 deletions

13
include/ipc-json.h Normal file
View file

@ -0,0 +1,13 @@
#ifndef _SWAY_IPC_JSON_H
#define _SWAY_IPC_JSON_H
#include <json-c/json.h>
#include "config.h"
#include "container.h"
json_object *ipc_json_get_version();
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
json_object *ipc_json_describe_container(swayc_t *c);
json_object *ipc_json_describe_container_recursive(swayc_t *c);
#endif