aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_view.c')
-rw-r--r--src/lib/elementary/efl_ui_view.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_view.c b/src/lib/elementary/efl_ui_view.c
new file mode 100644
index 0000000000..40d12e1fa5
--- /dev/null
+++ b/src/lib/elementary/efl_ui_view.c
@@ -0,0 +1,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;
+}