tizen 2.3.1 release
[apps/home/settings.git] / setting-ledindicator / include / setting-ledindicator.h
1 /*
2  * setting
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
5  *
6  * Contact: MyoungJune Park <mj2004.park@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef __SETTING_LEDINDICATOR_H__
22 #define __SETTING_LEDINDICATOR_H__
23
24 #include <stdio.h>
25 #include <string.h>
26
27 #include <Elementary.h>
28 #include <setting-common-draw-widget.h>
29 #include <setting-common-view.h>
30 #include <setting-common-resource.h>
31
32 #define KeyStr_Charging                                 "IDS_ST_MBODY_CHARGING"
33 #define KeyStr_Charging_Desc            "IDS_ST_BODY_THE_RED_LED_LIGHTS_UP_WHEN_YOU_CHARGE_YOUR_DEVICE_WHILE_THE_SCREEN_IS_OFF"
34 #define KeyStr_LowBattery                       "IDS_ST_BODY_LEDOT_LOW_BATTERY"
35 #define KeyStr_LowBattery_Desc          "IDS_ST_BODY_THE_RED_LED_BLINKS_WHEN_THE_BATTERY_POWER_IS_LOW_WHILE_THE_SCREEN_IS_OFF"
36 #define KeyStr_Notifications                    "IDS_ST_BODY_NOTIFICATIONS"
37 #define KeyStr_Notifications_Desc       "IDS_ST_BODY_THE_BLUE_LED_BLINKS_WHEN_YOU_HAVE_MISSED_CALLS_MESSAGES_OR_APP_NOTIFICATIONS_WHILE_THE_SCREEN_IS_OFF"
38 #define KeyStr_VoiceRecording           "IDS_ST_BODY_VOICE_RECORDING"
39 #define KeyStr_VoiceRecording_Desc      "IDS_ST_BODY_THE_BLUE_LED_BLINKS_WHEN_YOU_RECORD_VOICE_WHILE_THE_SCREEN_IS_OFF"
40
41 typedef struct _SettingLedIndicatorUG SettingLedIndicatorUG;
42 struct _SettingLedIndicatorUG {
43         ui_gadget_h ug;
44         /* add more variables here (move your appdata to here) */
45         Evas *evas;
46         Evas_Object *win_main_layout;
47         Evas_Object *win_get;
48         Evas_Object *bg;
49         Evas_Object *ly_main;
50
51         /* UI elements - view main */
52         Setting_GenGroupItem_Data *charging;
53         Setting_GenGroupItem_Data *low_batt;
54         Setting_GenGroupItem_Data *notifications;
55         Setting_GenGroupItem_Data *voice_rec;
56
57         Evas_Object *navi_bar;  /* for navigation effect */
58 };
59
60 extern setting_view setting_view_ledindicator_main;
61 #endif  /*__SETTING_LEDINDICATOR_H__ */