2
3
4
5
6
7
8
9
10
12#ifndef GIMBAL_PLUGIN_H
13#define GIMBAL_PLUGIN_H
16#include "../instances/gimbal_instance.h"
19
20
21
22#define GBL_IPLUGIN_TYPE (GBL_TYPEID(GblIPlugin))
23#define GBL_IPLUGIN(instance) (GBL_CAST(GblIPlugin, instance))
24#define GBL_IPLUGIN_CLASS(klass) (GBL_CLASS_CAST(GblIPlugin, klass))
25#define GBL_IPLUGIN_GET_CLASS(instance) (GBL_CLASSOF(GblIPlugin, instance))
28#define GBL_SELF_TYPE GblIPlugin
33
34
35
36
37
38
39
40
41
47 GblTypeInfo* pCompleteInfo);
51 GblInterface** ppInterface);
#define GBL_CLASS_CAST(cType, klass)
#define GBL_TYPEID(instanceStruct)
#define GBL_INTERFACE_END
#define GBL_INTERFACE_DERIVE(...)
#define GBL_CLASSOF(cType, self)
#define GBL_CAST(cType, self)