Initialize Tizen 2.3
[apps/home/b2-clocksetting.git] / include / setting.h
1 /*
2  * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
18 #ifndef __SETTING_H__
19 #define __SETTING_H__
20
21 #include <Elementary.h>
22 #include <stdlib.h>
23 #include <limits.h>
24 #include <stdio.h>
25 #include <string.h>
26 #include <stdbool.h>
27 #include <dlog.h>
28 #include <app.h>
29 #include <feedback.h>
30 #include <efl_assist.h>
31 #include <bluetooth.h>
32
33 //#include "util.h"
34
35
36 #define NUM_OF_SETTING_MAIN_MENU         11
37
38 struct _menu_item {
39         char *name;
40         char *icon_name;
41         void (*func)(void *data, Evas_Object *obj, void *event_info);
42 };
43
44
45 // Main Screen's callback functions
46 void clock_cb(void *data, Evas_Object *obj, void *event_info);
47 void notification_cb(void *data, Evas_Object *obj, void *event_info);
48 void sound_cb(void *data, Evas_Object *obj, void *event_info);
49 void homescreen_cb(void *data, Evas_Object *obj, void *event_info);
50 void volume_cb(void *data, Evas_Object *obj, void *event_info);
51 void display_cb(void *data, Evas_Object *obj, void *event_info);
52 void battery_cb(void *data, Evas_Object *obj, void *event_info);
53 void bluetooth_cb(void *data, Evas_Object *obj, void *event_info);
54 void motion_cb(void *data, Evas_Object *obj, void *event_info);
55 void lockscreen_cb(void *data, Evas_Object *obj, void *event_info);
56 void double_pressing_cb(void *data, Evas_Object *obj, void *event_info);
57 void language_cb(void *data, Evas_Object *obj, void *event_info);
58 void safety_cb(void *data, Evas_Object *obj, void *event_info);
59 void reset_gear_cb(void *data, Evas_Object *obj, void *event_info);
60 void gear_info_cb(void *data, Evas_Object *obj, void *event_info);
61 void profile_cb(void *data, Evas_Object *obj, void *event_info);
62
63 static void _update_main_menu_title( void * data );
64
65 #endif