aboutsummaryrefslogtreecommitdiff
path: root/arken/include/plugin_interface.h
blob: 0583289dc7ea504bfa752ed2c71496b79f28f1a8 (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 _PLUG_INTF
#define _PLUG_INTF

#include <stdint.h>

#include "plugin_types.h"
#include "plugin_exports.h"

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

/*
 * Plugin ABI: plugins must export these symbols.
 *
 * This header is intended to be included by plugin implementations.
 */

#define DECLARE_PLUGIN_EXPORT(ret, name, args) ret name args;
MONTIS_PLUGIN_EXPORTS(DECLARE_PLUGIN_EXPORT)
#undef DECLARE_PLUGIN_EXPORT

#endif /* _PLUG_INTF */