2 * Copyright (c) 2010 Samsung Electronics, Inc.
5 * This software is a confidential and proprietary information
6 * of Samsung Electronics, Inc. ("Confidential Information"). You
7 * shall not disclose such Confidential Information and shall use
8 * it only in accordance with the terms of the license agreement
9 * you entered into with Samsung Electronics.
14 * Created on: Oct 9, 2013
18 #ifndef SETTING_MOTION_H_
19 #define SETTING_MOTION_H_
21 #include <Elementary.h>
25 #include "setting_data_vconf.h"
29 #define MOTION_ITEM_COUNT 2
30 #define MOTION_WAKE_UP_ITEM_COUNT 3
32 struct _motion_menu_item {
35 void (*func)(void *data, Evas_Object *obj, void *event_info);
38 struct _motion_wake_up_guesture_item {
43 typedef struct Motion_Item_Data
46 Elm_Object_Item *item;
50 typedef struct _motion_data {
51 int is_enable_smart_relay;
52 int is_enable_wake_up_gesture;
53 int wake_up_gesture_type;
57 Evas_Object * g_motion_genlist;
62 char * _gl_motion_title_get(void *data, Evas_Object *obj, const char *part);
63 Evas_Object * _gl_motion_check_get(void *data, Evas_Object *obj, const char *part);
64 Evas_Object* _create_motion_list(void* data);
65 void _motion_chk_changed_cb(void *data, Evas_Object *obj, void *event_info);
66 void _motion_gl_smart_relay_cb(void *data, Evas_Object *obj, void *event_info);
67 void _motion_gl_wake_up_cb(void *data, Evas_Object *obj, void *event_info);
68 char * _get_wake_up_gesture_sub_title();
70 void _initialize_motion();
71 Eina_Bool _clear_motion_cb(void *data, Elm_Object_Item *it);
73 void motion_vconf_changed_cb(keynode_t *key, void * data);
75 #endif /* SETTING_MOTION_H_ */