2012-04-05 08:31:15 -07:00
|
|
|
#ifndef SIMPLE_H
|
|
|
|
#define SIMPLE_H
|
|
|
|
|
2012-04-10 02:12:46 -07:00
|
|
|
#include "Eobj.h"
|
2012-04-05 08:31:15 -07:00
|
|
|
|
|
|
|
extern EAPI Eobj_Op SIMPLE_BASE_ID;
|
|
|
|
|
|
|
|
enum {
|
|
|
|
SIMPLE_SUB_ID_A_SET,
|
|
|
|
SIMPLE_SUB_ID_LAST
|
|
|
|
};
|
|
|
|
|
2012-04-12 05:42:33 -07:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int cb_count;
|
|
|
|
} Simple_Public_Data;
|
|
|
|
|
2012-04-05 08:31:15 -07:00
|
|
|
#define SIMPLE_ID(sub_id) (SIMPLE_BASE_ID + sub_id)
|
|
|
|
|
|
|
|
#define SIMPLE_A_SET(a) SIMPLE_ID(SIMPLE_SUB_ID_A_SET), EOBJ_TYPECHECK(int, a)
|
|
|
|
|
|
|
|
extern const Eobj_Event_Description _SIG_A_CHANGED;
|
|
|
|
#define SIG_A_CHANGED (&(_SIG_A_CHANGED))
|
|
|
|
|
|
|
|
#define SIMPLE_CLASS simple_class_get()
|
|
|
|
const Eobj_Class *simple_class_get(void) EINA_CONST;
|
|
|
|
|
|
|
|
#endif
|