Tizen release 1.0
[apps/home/settings.git] / setting-about / include / setting-about-main.h
1 /*
2  * setting
3  *
4  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved 
5  *
6  * This file is part of org.tizen.setting
7  * Written by Hyejin Kim <hyejin0906.kim@samsung.com>
8  *
9  * PROPRIETARY/CONFIDENTIAL
10  * 
11  * This software is the confidential and proprietary information of 
12  * SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
13  * disclose such Confidential Information and shall use it only in
14  * accordance with the terms of the license agreement you entered
15  * into with SAMSUNG ELECTRONICS.
16  *
17  * SAMSUNG make no representations or warranties about the suitability 
18  * of the software, either express or implied, including but not limited
19  * to the implied warranties of merchantability, fitness for a particular
20  * purpose, or non-infringement. SAMSUNG shall not be liable for any
21  * damages suffered by licensee as a result of using, modifying or
22  * distributing this software or its derivatives.
23  *
24  */
25 #ifndef __SETTING_ABOUT_MAIN_H__
26 #define __SETTING_ABOUT_MAIN_H__
27
28 #include <setting-about.h>
29
30 #define SETTING_ABOUT_INFO_PATH "/etc/info.ini"
31 #define SETTING_ABOUT_MACINFO_PATH "/opt/etc/.mac.info"
32 #define SETTING_ABOUT_POWER_SUPPLY_PATH "/sys/class/power_supply"
33 #define SETTING_ABOUT_BD_ADDR_PATH "/opt/etc/.bd_addr"
34 #define SETTING_ABOUT_STAT_PATH "/proc/stat"
35
36 #define SETTING_ABOUT_NEVER_TURN_WIFI_ON_STR "Never Turn WI-FI ON"
37 #define SETTING_ABOUT_DEVICE_INFO_STR "IDS_ST_BODY_DEVICE_INFO"
38 #define SETTING_ABOUT_DEVICE_NAME_STR "IDS_COM_POP_NAME"
39 #define SETTING_ABOUT_MY_NUMBER_STR "IDS_ST_BODY_MY_NUMBER"
40 #define SETTING_ABOUT_MODEL_STR "IDS_COM_BODY_FILEDETAIL_MODEL"
41 #define SETTING_ABOUT_VERSION_STR "IDS_COM_POP_VERSION"
42 #define SETTING_ABOUT_BLUETOOTH_STR "Bluetooth"
43 #define SETTING_ABOUT_WIFI_STR _("IDS_ST_HEADER_WI_FI")
44 #define SETTING_ABOUT_BATTERY_STR _("IDS_ST_BODY_BATTERY")
45 #define SETTING_ABOUT_CPU_USAGE_STR _("IDS_ST_BODY_CPU_USAGE")
46
47 #define SETTING_ABOUT_SLP_STR                   "SLP"
48 #define SETTING_ABOUT_SLP_STR_LEN               3
49
50 /**
51 * Do process when clicking '<-' button
52 *
53 * @param data
54 * @param obj
55 * @param event_info
56 */
57 static void setting_about_main_click_softkey_back_cb(void *data,
58                                                      Evas_Object *obj,
59                                                      void *event_info);
60
61 /**
62 * Do process when clicking on some genlist item
63 *
64 * @param data
65 * @param obj
66 * @param event_info
67 */
68 static void setting_about_main_mouse_up_Gendial_list_cb(void *data,
69                                                         Evas_Object *obj,
70                                                         void *event_info);
71
72 #endif                          /* __SETTING_ABOUT_MAIN_H__ */