2012-04-10 02:12:46 -07:00
|
|
|
#include "Eobj.h"
|
2012-04-05 08:31:15 -07:00
|
|
|
#include "mixin.h"
|
|
|
|
#include "simple2.h"
|
|
|
|
|
2012-04-12 06:52:13 -07:00
|
|
|
#include "config.h"
|
|
|
|
|
2012-04-17 03:27:25 -07:00
|
|
|
static const Eobj_Class *_my_class = NULL;
|
2012-04-05 08:31:15 -07:00
|
|
|
|
|
|
|
static void
|
2012-04-19 04:30:17 -07:00
|
|
|
_constructor(Eobj *obj, void *class_data EINA_UNUSED)
|
2012-04-05 08:31:15 -07:00
|
|
|
{
|
|
|
|
eobj_constructor_super(obj);
|
|
|
|
|
|
|
|
eobj_constructor_error_set(obj);
|
|
|
|
}
|
|
|
|
|
|
|
|
const Eobj_Class *
|
|
|
|
simple2_class_get(void)
|
|
|
|
{
|
|
|
|
if (_my_class) return _my_class;
|
|
|
|
|
|
|
|
static const Eobj_Class_Description class_desc = {
|
|
|
|
"Simple2",
|
|
|
|
EOBJ_CLASS_TYPE_REGULAR,
|
|
|
|
EOBJ_CLASS_DESCRIPTION_OPS(NULL, NULL, 0),
|
|
|
|
NULL,
|
|
|
|
0,
|
|
|
|
_constructor,
|
2012-04-11 00:05:10 -07:00
|
|
|
NULL,
|
2012-04-05 08:31:15 -07:00
|
|
|
NULL,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2012-04-17 07:01:09 -07:00
|
|
|
_my_class = eobj_class_new(&class_desc, EOBJ_BASE_CLASS, NULL);
|
2012-04-05 08:31:15 -07:00
|
|
|
return _my_class;
|
|
|
|
}
|