aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_view.c
blob: 40d12e1fa5114c13feca3135ea9b50593221db64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "efl_ui_view_private.h"

#define MY_CLASS EFL_UI_VIEW_CLASS
#define MY_CLASS_NAME "Efl.Ui.View"

static const char SIG_MODEL_CHANGED[] = "model,changed";
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
   {SIG_MODEL_CHANGED, ""},
   {NULL, NULL}
};

static Eo *
_efl_ui_view_model_get(Eo* obj, Efl_Ui_View_Data)
{
   return pd->model;
}

static void *
_efl_ui_view_model_set(Eo* obj, Efl_Ui_View_Data *pd, Eo *model)
{
   pd->model = model;
}