2017-11-23 03:37:07 +01:00
|
|
|
#ifndef _SWAY_IPC_JSON_H
|
|
|
|
#define _SWAY_IPC_JSON_H
|
|
|
|
#include <json-c/json.h>
|
2018-03-30 05:41:33 +02:00
|
|
|
#include "sway/tree/container.h"
|
2017-12-18 20:27:38 +01:00
|
|
|
#include "sway/input/input-manager.h"
|
2017-11-23 03:37:07 +01:00
|
|
|
|
|
|
|
json_object *ipc_json_get_version();
|
|
|
|
|
2018-03-30 05:41:33 +02:00
|
|
|
json_object *ipc_json_describe_container(struct sway_container *c);
|
|
|
|
json_object *ipc_json_describe_container_recursive(struct sway_container *c);
|
2017-12-18 20:27:38 +01:00
|
|
|
json_object *ipc_json_describe_input(struct sway_input_device *device);
|
2018-03-29 22:51:36 +02:00
|
|
|
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
|
2017-12-03 14:33:52 +01:00
|
|
|
|
2017-11-23 03:37:07 +01:00
|
|
|
#endif
|