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