2012-02-15 00:18:47 -08:00
|
|
|
/*
|
|
|
|
* parrot.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PARROT_H_
|
|
|
|
#define PARROT_H_
|
|
|
|
|
|
|
|
#include "eina_model_04_animal.h"
|
|
|
|
|
2012-02-16 04:37:27 -08:00
|
|
|
extern const char *PARROT_MODEL_TYPE_NAME;
|
2012-02-15 00:18:47 -08:00
|
|
|
extern const Eina_Model_Type * const PARROT_TYPE;
|
2012-02-16 04:37:27 -08:00
|
|
|
|
|
|
|
#define PARROT_TYPE(x) ((Parrot_Type *) (eina_model_type_subclass_check((x), PARROT_TYPE) ? (x) : NULL))
|
2012-02-15 00:18:47 -08:00
|
|
|
|
|
|
|
typedef struct _Parrot_Type
|
|
|
|
{
|
|
|
|
Animal_Type parent_class;
|
2012-02-16 04:37:27 -08:00
|
|
|
void (*fly)(Eina_Model *m);
|
2012-02-15 00:18:47 -08:00
|
|
|
} Parrot_Type;
|
|
|
|
|
|
|
|
void parrot_init();
|
2012-02-16 04:37:27 -08:00
|
|
|
void parrot_fly(Eina_Model *m);
|
2012-02-15 00:18:47 -08:00
|
|
|
|
|
|
|
#endif /* PARROT_H_ */
|