2014-08-26 11:54:28 -07:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
2016-02-04 06:10:11 -08:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
2014-08-26 11:54:28 -07:00
|
|
|
#include <Eo.h>
|
|
|
|
#include <Ecore.h>
|
|
|
|
|
|
|
|
#include "simple.eo.h"
|
|
|
|
|
|
|
|
#define MY_CLASS SIMPLE_CLASS
|
|
|
|
|
2016-08-10 07:23:04 -07:00
|
|
|
static Eo *_simple_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED)
|
2014-08-26 11:54:28 -07:00
|
|
|
{
|
2016-08-10 07:23:04 -07:00
|
|
|
return efl_constructor(eo_super(obj, MY_CLASS));
|
2014-08-26 11:54:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
static Eina_Bool _simple_simple_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED)
|
|
|
|
{
|
|
|
|
printf("calling %s\n", __FUNCTION__);
|
|
|
|
|
|
|
|
return EINA_TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
static Eina_Bool _simple_name_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, const char** name)
|
|
|
|
{
|
|
|
|
static const char* _name= "simple_class";
|
|
|
|
|
|
|
|
printf("calling %s= simples class\n", __FUNCTION__);
|
|
|
|
*name = _name;
|
|
|
|
|
|
|
|
return EINA_TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "simple.eo.c"
|