tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / include / setting.h
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  *  Licensed under the Flora License, Version 1.0 (the License);
5  *  you may not use this file except in compliance with the License.
6  *  You may obtain a copy of the License at
7  *
8  *      http://floralicense.org/license/
9  *
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an AS IS BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  */
17 #ifndef __SETTING_H__
18 #define __SETTING_H__
19
20 #define FEATURE_SETTING_CHANGEABLE
21
22 #include <Elementary.h>
23 #include <stdlib.h>
24 #include <limits.h>
25 #include <stdio.h>
26 #include <string.h>
27 #include <stdbool.h>
28 #include <dlog.h>
29 #include <app.h>
30 #include <feedback.h>
31 #include <efl_assist.h>
32 #include <bluetooth.h>
33
34 #include "util.h"
35
36
37 #define NUM_OF_SETTING_MAIN_MENU         11
38
39 struct _menu_item {
40         char *name;
41         char *icon_name;
42         void (*func)(void *data, Evas_Object *obj, void *event_info);
43 };
44
45
46 /* Main Screen's callback functions */
47 void clock_cb(void *data, Evas_Object *obj, void *event_info);
48 void notification_cb(void *data, Evas_Object *obj, void *event_info);
49 void sound_cb(void *data, Evas_Object *obj, void *event_info);
50 void homescreen_cb(void *data, Evas_Object *obj, void *event_info);
51 void volume_cb(void *data, Evas_Object *obj, void *event_info);
52 void location_cb(void *data, Evas_Object *obj, void *event_info);
53 void display_cb(void *data, Evas_Object *obj, void *event_info);
54 void battery_cb(void *data, Evas_Object *obj, void *event_info);
55 void bluetooth_cb(void *data, Evas_Object *obj, void *event_info);
56 void motion_cb(void *data, Evas_Object *obj, void *event_info);
57 void lockscreen_cb(void *data, Evas_Object *obj, void *event_info);
58 void double_pressing_cb(void *data, Evas_Object *obj, void *event_info);
59 void language_cb(void *data, Evas_Object *obj, void *event_info);
60 void safety_cb(void *data, Evas_Object *obj, void *event_info);
61 void reset_gear_cb(void *data, Evas_Object *obj, void *event_info);
62 void gear_info_cb(void *data, Evas_Object *obj, void *event_info);
63 void keyboard_cb(void *data, Evas_Object *obj, void *event_info);
64
65 static void _update_main_menu_title(void *data);
66
67 #endif