2017-11-23 02:37:07 +00:00
|
|
|
#ifndef _SWAY_IPC_JSON_H
|
|
|
|
#define _SWAY_IPC_JSON_H
|
|
|
|
#include <json-c/json.h>
|
2018-03-30 03:41:33 +00:00
|
|
|
#include "sway/tree/container.h"
|
2017-12-18 19:27:38 +00:00
|
|
|
#include "sway/input/input-manager.h"
|
2017-11-23 02:37:07 +00:00
|
|
|
|
|
|
|
json_object *ipc_json_get_version();
|
|
|
|
|
2018-06-05 21:56:32 +00:00
|
|
|
json_object *ipc_json_describe_disabled_output(struct sway_output *o);
|
2018-03-30 03:41:33 +00: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 19:27:38 +00:00
|
|
|
json_object *ipc_json_describe_input(struct sway_input_device *device);
|
2018-05-11 13:51:47 +00:00
|
|
|
json_object *ipc_json_describe_seat(struct sway_seat *seat);
|
2018-03-29 20:51:36 +00:00
|
|
|
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
|
2017-12-03 13:33:52 +00:00
|
|
|
|
2017-11-23 02:37:07 +00:00
|
|
|
#endif
|