4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
6 * Contact: MyoungJune Park <mj2004.park@samsung.com>
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #ifndef __SETTING_LEDINDICATOR_H__
22 #define __SETTING_LEDINDICATOR_H__
27 #include <Elementary.h>
28 #include <setting-common-draw-widget.h>
29 #include <setting-common-view.h>
30 #include <setting-common-resource.h>
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"
41 typedef struct _SettingLedIndicatorUG SettingLedIndicatorUG;
42 struct _SettingLedIndicatorUG {
44 /* add more variables here (move your appdata to here) */
46 Evas_Object *win_main_layout;
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;
57 Evas_Object *navi_bar; /* for navigation effect */
60 extern setting_view setting_view_ledindicator_main;
61 #endif /*__SETTING_LEDINDICATOR_H__ */