EFL 1.7 svn doobies
[profile/ivi/eina.git] / src / examples / eina_model_04_child.h
1 /*
2  * child.h
3  */
4
5 #ifndef CHILD_H_
6 #define CHILD_H_
7
8 #include "eina_model_04_human.h"
9
10 extern const char *CHILD_MODEL_TYPE_NAME;
11 extern const Eina_Model_Type * const CHILD_TYPE;
12 #define CHILD_TYPE(x) ((Child_Type *) (eina_model_type_subclass_check((x), CHILD_TYPE) ? (x) : NULL))
13
14 typedef struct _Child_Type
15 {
16    Human_Type parent_class;
17    void (*cry)(Eina_Model *m);
18 } Child_Type;
19
20 void child_init();
21 void child_cry(Eina_Model *m);
22
23 #endif /* CHILD_H_ */