aboutsummaryrefslogtreecommitdiff
path: root/ark/include/world_interface.h
blob: 9e703fac1068bc40f1cdb231a156ed1830a1e226 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _WORLD_INTF
#define _WORLD_INTF

#include <stdint.h>

#include "world_exports.h"
#include "world_types.h"

#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_pointer.h>

/*
 * World ABI: worlds must export these symbols.
 *
 * This header is intended to be included by world implementations.
 */

#define DECLARE_WORLD_EXPORT(ret, name, args) ret name args;
ARKWORLD_EXPORTS(DECLARE_WORLD_EXPORT)
#undef DECLARE_WORLD_EXPORT

#endif /* _WORLD_INTF */