2
3
4
5
6
7
8
11#ifndef GIMBAL_IEVENT_HANDLER_H
12#define GIMBAL_IEVENT_HANDLER_H
15#include "../instances/gimbal_instance.h"
17#define GBL_IEVENT_HANDLER_TYPE (GBL_TYPEID(GblIEventHandler))
18#define GBL_IEVENT_HANDLER(instance) (GBL_CAST(GblIEventHandler, instance))
19#define GBL_IEVENT_HANDLER_CLASS(klass) (GBL_CLASS_CAST(GblIEventHandler, klass))
20#define GBL_IEVENT_HANDLER_GET_CLASS(instance) (GBL_CLASSOF(GblIEventHandler, instance))
22#define GBL_SELF_TYPE GblIEventHandler
29
30
31
33 GBL_RESULT (*pFnEvent)(
GBL_SELF, GblEvent* pEvent);
#define GBL_CLASS_CAST(cType, klass)
#define GBL_FORWARD_DECLARE_STRUCT(S)
#define GBL_TYPEID(instanceStruct)
#define GBL_INTERFACE_END
#define GBL_INTERFACE_DERIVE(...)
#define GBL_CLASSOF(cType, self)
#define GBL_CAST(cType, self)