summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_container_model_private.h
blob: 6a9e74322167c78a922f4c1108c1ab205ffe1b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef EFL_CONTAINER_MODEL_PRIVATE_H__
#define EFL_CONTAINER_MODEL_PRIVATE_H__

typedef struct _Child_Property_Data Child_Property_Data;
struct _Child_Property_Data
{
   const Eina_Value_Type            *type;
   Eina_Array                       *values;
};

typedef struct _Efl_Container_Model_Data Efl_Container_Model_Data;
struct _Efl_Container_Model_Data
{
   Eo                               *obj;

   Eina_Hash                        *properties;

   Eina_List                        *childrens;
};


typedef struct _Efl_Container_Model_Item_Data Efl_Container_Model_Item_Data;
struct _Efl_Container_Model_Item_Data
{
   Efl_Container_Model_Data         *parent_data;
   unsigned int                      index;
};

void *_value_copy_alloc(void *v, const Eina_Value_Type *type);

void _value_free(void *v, const Eina_Value_Type *type);

#endif