2017-11-23 13:37:07 +11:00
|
|
|
#ifndef _SWAY_IPC_JSON_H
|
|
|
|
#define _SWAY_IPC_JSON_H
|
|
|
|
#include <json-c/json.h>
|
2018-03-30 03:15:31 +11:00
|
|
|
#include "sway/tree/container.h"
|
2017-12-19 06:27:38 +11:00
|
|
|
#include "sway/input/input-manager.h"
|
2017-11-23 13:37:07 +11:00
|
|
|
|
|
|
|
json_object *ipc_json_get_version();
|
|
|
|
|
2017-12-19 00:06:03 +11:00
|
|
|
json_object *ipc_json_describe_container(swayc_t *c);
|
2017-12-04 00:33:52 +11:00
|
|
|
json_object *ipc_json_describe_container_recursive(swayc_t *c);
|
2017-12-19 06:27:38 +11:00
|
|
|
json_object *ipc_json_describe_input(struct sway_input_device *device);
|
2017-12-04 00:33:52 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
#endif
|