2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __UG_NFC_SETTING_MAIN_H__
19 #define __UG_NFC_SETTING_MAIN_H__
23 #endif /* __cplusplus */
25 #include <ui-gadget-module.h>
27 #include <Elementary.h>
31 #define PACKAGE "ug-setting-nfc-efl"
35 #define PREFIX "/opt/ug/"
36 #define EDJ_PATH PREFIX"/res/edje/"PACKAGE
37 #define EDJ_FILE EDJ_PATH"/ug-nfc-setting-efl.edj"
38 #define LOCALE_PATH PREFIX"/res/locale"
44 #define LOG_TAG "UG_NFC_SETTING_EFL"
46 #define NFCUG_TEXT_DOMAIN PACKAGE
47 #define NFCUG_LOCALEDIR LOCALE_PATH
49 #define POPUP_TEXT_SIZE 1024
51 /* Registered string in STMS NFC */
52 #define IDS_NFC_NFC dgettext(PACKAGE, "IDS_NFC_BODY_NFC")
53 #define IDS_NFC_S_BEAM dgettext(PACKAGE, "IDS_NFC_OPT_S_BEAM")
54 #define IDS_NFC_S_BEAM_DESCRIPTION_MSG_CHN dgettext(PACKAGE, "IDS_NFC_BODY_S_BEAM_DESCRIPTION_MSG_CHN")
55 #define IDS_CLOSE dgettext("sys_string", "IDS_COM_POP_CLOSE")
57 #define IDS_NFC_SERVICE_IS_NOT_SUPPORTED _("NFC service is not supported")
59 typedef enum _NFCSettingType {
81 typedef struct _ugdata_t
83 Evas_Object* ug_win_main;
84 ui_gadget_h nfc_setting_ug;
85 Evas_Object* base_layout;
88 Evas_Object* base_naviframe;
89 Elm_Object_Item *base_navi_it;
92 typedef struct _gl_item_data_t
102 #endif /*__UG_NFC_SETTING_MAIN_H__*/