2017-11-23 13:37:07 +11:00
|
|
|
#ifndef _SWAY_IPC_JSON_H
|
|
|
|
#define _SWAY_IPC_JSON_H
|
|
|
|
#include <json-c/json.h>
|
2017-12-04 00:33:52 +11:00
|
|
|
#include "sway/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);
|
2018-03-30 07:51:36 +11:00
|
|
|
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
|
2017-12-04 00:33:52 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
#endif
|