tizen 2.4 release
[framework/connectivity/mobileap-agent.git] / include / mobileap_notification.h
1 /*
2  * mobileap-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #ifndef __MOBILEAP_NOTIFICATION_H__
19 #define __MOBILEAP_NOTIFICATION_H__
20
21 #include <appcore-common.h>
22 #include <notification.h>
23
24 #define MH_NOTI_STR_MAX                 50
25 #define MH_NOTI_PATH_MAX                256
26
27 #define MH_NOTI_ICON_PATH               "/usr/ug/res/images/ug-setting-mobileap-efl"
28 #define MH_NOTI_ICON_BT                 MH_NOTI_ICON_PATH"/noti_tethering_bluetooth.png"
29 #define MH_NOTI_ICON_GENERAL            MH_NOTI_ICON_PATH"/noti_tethering_general.png"
30 #define MH_NOTI_ICON_USB                MH_NOTI_ICON_PATH"/noti_tethering_usb.png"
31 #define MH_NOTI_ICON_WIFI               MH_NOTI_ICON_PATH"/noti_tethering_wifi_num.png"
32 #define MH_NOTI_ICON_WIFI_PD            MH_NOTI_ICON_PATH"/noti_tethering_wifi_num_%02d.png"
33
34 #define MOBILEAP_LOCALE_COMMON_PKG      "ug-setting-mobileap-efl"
35 #define MOBILEAP_LOCALE_COMMON_RES      "/usr/ug/res/locale"
36
37 #ifdef _
38 #undef _
39 #endif
40 #define _(str)                          dgettext(MOBILEAP_LOCALE_COMMON_PKG, str)
41
42 #define MH_STR_TETHERING                        "IDS_MOBILEAP_BODY_TETHERING"
43 #define MH_STR_CONNECTED_DEV            "IDS_MOBILEAP_POP_CONNECTED_DEVICES_C_PD"
44 #define MH_STR_CONNECTION_TIMEOUT               "IDS_ST_BODY_CONNECTION_TIMEOUT"
45 #define MH_STR_CONFIGURE_TETHERING      "IDS_MOBILEAP_BODY_TAP_TO_CONFIGURE_TETHERING"
46 #define MH_STR_TETHERING_ACTIVE _("IDS_MOBILEAP_BODY_TETHERING_ACTIVE_ABB")
47 #define MH_STR_BT_VISIBILITY    _("IDS_ST_BODY_BLUETOOTH_VISIBILITY_HAS_TIMED_OUT_YOUR_DEVICE_MIGHT_NOT_BE_FOUND")
48
49 int _create_timeout_noti(const char *icon_path);
50 int _delete_timeout_noti(void);
51 int _create_connected_noti(int count, const char *icon_path);
52 int _update_connected_noti(int count, const char *icon_path);
53 int _delete_connected_noti(void);
54 void _create_tethering_active_noti(void);
55 void _create_bt_tethering_active_noti(void);
56 #endif