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 LOCALE_PATH LOCALEDIR
32 #define EDJ_PATH EDJDIR
33 #define EDJ_FILE EDJ_PATH"/"PACKAGE".edj"
35 #define PREDEFINED_ITEM_FILE_PATH "/usr/apps/org.tizen.57r43275q7/share"
41 #define LOG_TAG "UG_NFC_SETTING_EFL"
43 #define NFCUG_TEXT_DOMAIN PACKAGE
44 #define NFCUG_LOCALEDIR LOCALE_PATH
46 #define POPUP_TEXT_SIZE 1024
48 /* Registered string in STMS NFC */
49 #define IDS_NFC_NFC dgettext(PACKAGE, "IDS_NFC_BODY_NFC")
50 #define IDS_NFC_S_BEAM dgettext(PACKAGE, "IDS_NFC_OPT_S_BEAM")
51 #define IDS_NFC_S_BEAM_DESCRIPTION_MSG_CHN dgettext(PACKAGE, "IDS_NFC_BODY_S_BEAM_DESCRIPTION_MSG_CHN")
52 #define IDS_CLOSE dgettext("sys_string", "IDS_COM_POP_CLOSE")
53 #define IDS_NONE dgettext("sys_string", "IDS_COM_BODY_NONE")
55 #define IDS_PREDEFINED_ITEM _("Predefined item")
56 #define IDS_PREDEFINED_ITEM_DESCRIPTION_MSG _("You can beam selected item to other NFC device by holding the devices close together in homescreenor main menu.")
58 #define IDS_SECURITY_POLICY_RESTRICTS_USE_OF_PS _("Security policy restricts use of %s")
59 #define IDS_NFC_SERVICE_IS_NOT_SUPPORTED _("NFC service is not supported")
61 typedef enum _NFCSettingType {
63 #ifdef _SBEAM_SUPPORT_
86 typedef struct _ugdata_t
88 Evas_Object* ug_win_main;
89 ui_gadget_h nfc_setting_ug;
90 Evas_Object* base_layout;
93 Evas_Object* base_naviframe;
94 Elm_Object_Item *base_navi_it;
97 typedef struct _gl_item_data_t
107 #endif /*__UG_NFC_SETTING_MAIN_H__*/