Eo: Removed "type" property from event/op descriptions.
[profile/ivi/eobj.git] / examples / constructors / mixin.h
1 #ifndef MIXIN_H
2 #define MIXIN_H
3
4 #include "Eo.h"
5
6 extern EAPI Eo_Op MIXIN_BASE_ID;
7
8 enum {
9      MIXIN_SUB_ID_ADD_AND_SET,
10      MIXIN_SUB_ID_LAST
11 };
12
13 #define MIXIN_ID(sub_id) (MIXIN_BASE_ID + sub_id)
14
15 #define mixin_add_and_print(x) MIXIN_ID(MIXIN_SUB_ID_ADD_AND_SET), EO_TYPECHECK(int, x)
16
17 #define MIXIN_CLASS mixin_class_get()
18 const Eo_Class *mixin_class_get(void) EINA_CONST;
19
20 #endif