Mobile & Wearable profile migration for NFC setting UI
[apps/native/ug-nfc-efl.git] / mobile / include / ug-nfc-setting-main.h
1 /*
2   * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
3   *
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
7
8   *     http://floralicense.org/license/
9   *
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.
15   */
16
17
18 #ifndef __UG_NFC_SETTING_MAIN_H__
19 #define __UG_NFC_SETTING_MAIN_H__
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24
25 #include <stdio.h>
26 #include <ui-gadget-module.h>
27 #include <Evas.h>
28 #include <Ecore.h>
29 #include <Elementary.h>
30 #include <bundle.h>
31 #include <dlog.h>
32 #include <vconf.h>
33 #include <nfc.h>
34 #include <glib.h>
35
36 #define LOCALE_PATH     LOCALEDIR
37 #define ICON_PATH       ICONDIR
38 #define EDJ_PATH        EDJDIR
39 #define EDJ_FILE        EDJ_PATH"/"PACKAGE".edj"
40
41 #ifdef LOG_TAG
42 #undef LOG_TAG
43 #endif
44
45 #define LOG_TAG "UG_NFC_SETTING"
46
47 #define NFCUG_TEXT_DOMAIN       PACKAGE
48 #define NFCUG_LOCALEDIR LOCALE_PATH
49
50 /* Registered string in STMS NFC */
51 #define IDS_NFC_NFC     \
52         dgettext(PACKAGE, "IDS_NFC_BODY_NFC")
53 #define IDS_NFC_DESCRIPTION_MSG \
54         dgettext(PACKAGE, "IDS_NFC_BODY_WHEN_NFC_IS_ON_YOU_CAN_SEND_OR_RECEIVE_DATA_WHEN_YOUR_DEVICE_TOUCHES_OTHER_NFC_CAPABLE_DEVICES_OR_NFC_TAGS")
55
56 typedef struct {
57         ui_gadget_h nfc_setting_ug;
58
59         Evas_Object* ug_win_main;
60         Evas_Object* base_layout;
61         Evas_Object *bg;
62         Evas_Object* base_naviframe;
63         Evas_Object* ns_on_off;
64         Evas_Object* popup;
65
66         Elm_Object_Item *base_navi_it;
67
68         app_control_h service;
69 } ugdata_t;
70
71 #ifdef __cplusplus
72 }
73 #endif
74
75 #endif /*__UG_NFC_SETTING_MAIN_H__*/