2012-04-10 02:12:46 -07:00
|
|
|
#include "Eobj.h"
|
2012-04-05 08:31:15 -07:00
|
|
|
#include "mixin.h"
|
|
|
|
#include "simple3.h"
|
|
|
|
|
2012-04-12 06:52:13 -07:00
|
|
|
#include "config.h"
|
|
|
|
|
2012-04-05 08:31:15 -07:00
|
|
|
static Eobj_Class *_my_class = NULL;
|
|
|
|
|
|
|
|
static void
|
2012-04-12 06:52:13 -07:00
|
|
|
_constructor(Eobj *obj, void *class_data __UNUSED__)
|
2012-04-05 08:31:15 -07:00
|
|
|
{
|
|
|
|
(void) obj;
|
|
|
|
}
|
|
|
|
|
|
|
|
const Eobj_Class *
|
|
|
|
simple3_class_get(void)
|
|
|
|
{
|
|
|
|
if (_my_class) return _my_class;
|
|
|
|
|
|
|
|
static const Eobj_Class_Description class_desc = {
|
|
|
|
"Simple3",
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
_my_class = eobj_class_new(&class_desc, EOBJ_CLASS_BASE, NULL);
|
|
|
|
return _my_class;
|
|
|
|
}
|