4 * Copyright 2012 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.1 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.tizenopensource.org/license
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __DEF_NET_POPUP_W_H__
21 #define __DEF_NET_POPUP_W_H__
25 #include <app_control.h>
26 #include <Elementary.h>
27 #include <efl_extension.h>
29 #define PACKAGE "org.tizen.net-popup"
30 #define NET_POPUP_W "NET_POPUP_W"
31 #define LOCALEDIR "/usr/share/locale"
32 #define WEARABLE_DATAUSAGE_APPID "org.tizen.watch-setting"
33 #define DOMAIN_NAME "net-popup"
35 #define log_print(MID, format, args...) \
36 SLOG(LOG_INFO, MID, "\033[0m[%s:%d]\033[0m " format, __func__, __LINE__, ##args)
38 #define FUNCTION_ENTER log_print(NET_POPUP_W, "enter")
39 #define FUNCTION_QUIT log_print(NET_POPUP_W, "quit")
41 #define DATA_USAGE_WARN_TITLE dgettext(DOMAIN_NAME, "WDS_ST_HEADER_NEAR_DATA_LIMIT_ABB")
42 #define DATA_USAGE_RSTN_TITLE dgettext(DOMAIN_NAME, "WDS_ST_PHEADER_DATA_LIMIT_REACHED")
44 #define DATA_USAGE_WARN_BODY dgettext(DOMAIN_NAME, "WDS_ST_POP_CHECK_YOUR_DATA_LIMIT_IN_SETTINGS_Q")
45 #define DATA_USAGE_RSTN_BODY dgettext(DOMAIN_NAME, "WDS_ST_POP_CHECK_YOUR_DATA_LIMIT_IN_SETTINGS_Q")
52 typedef struct appdata {
58 int net_popup_w_init(int argc, char *argv[]);
60 #endif /* __DEF_NET_POPUP_W_H__ */