39 #ifndef OMX_CLASSMAGIC_H_
40 #define OMX_CLASSMAGIC_H_
43 #ifdef DOXYGEN_PREPROCESSING
44 #define CLASS(a) class a { public:
45 #define DERIVEDCLASS(a, b) class a : public b { public:
46 #define ENDCLASS(a) a##_FIELDS };
48 #define CLASS(a) typedef struct a a; \
50 #define DERIVEDCLASS(a, b) typedef struct a a; \
52 #define ENDCLASS(a) a##_FIELDS };
71 #define B_FIELDS A_FIELDS \
80 #define B2_FIELDS A_FIELDS \
89 #define C_FIELDS B_FIELDS \
#define DERIVEDCLASS(a, b)