10 extern const char *ANIMAL_MODEL_TYPE_NAME;
11 extern const Eina_Model_Type * const ANIMAL_TYPE;
13 #define ANIMAL_TYPE(x) ((Animal_Type *) (eina_model_type_subclass_check((x), ANIMAL_TYPE) ? (x) : NULL))
15 typedef struct _Animal_Type
17 Eina_Model_Type parent_class;
18 void (*eat)(Eina_Model *m);
19 void (*breathe)(Eina_Model *m);
22 void animal_init(void);
23 void animal_breathe(Eina_Model *m);
24 void animal_eat(Eina_Model *m);
26 #endif /* ANIMAL_H_ */