diff options
Diffstat (limited to 'arken/include/plugin_interface.h')
| -rw-r--r-- | arken/include/plugin_interface.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arken/include/plugin_interface.h b/arken/include/plugin_interface.h new file mode 100644 index 0000000..0583289 --- /dev/null +++ b/arken/include/plugin_interface.h @@ -0,0 +1,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 */ |