mirror of
https://github.com/swaywm/sway.git
synced 2024-11-28 19:01:29 +00:00
ba96983bf0
json-c.pc contains `Cflags: -I${includedir}/json-c`, so `<json-c/json.h>` won't be found unless the parent directory is searched by default.
17 lines
593 B
C
17 lines
593 B
C
#ifndef _SWAY_IPC_JSON_H
|
|
#define _SWAY_IPC_JSON_H
|
|
#include <json.h>
|
|
#include "sway/tree/container.h"
|
|
#include "sway/input/input-manager.h"
|
|
|
|
json_object *ipc_json_get_version(void);
|
|
|
|
json_object *ipc_json_describe_disabled_output(struct sway_output *o);
|
|
json_object *ipc_json_describe_node(struct sway_node *node);
|
|
json_object *ipc_json_describe_node_recursive(struct sway_node *node);
|
|
json_object *ipc_json_describe_input(struct sway_input_device *device);
|
|
json_object *ipc_json_describe_seat(struct sway_seat *seat);
|
|
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
|
|
|
|
#endif
|