apply FSL(Flora Software License)
[apps/home/ug-nfc-efl.git] / ug-nfc-setting-efl / include / ug-nfc-setting-main.h
1 /*
2   * Copyright 2012  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://www.tizenopensource.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 #ifndef __UG_NFC_SETTING_MAIN_H__
18 #define __UG_NFC_SETTING_MAIN_H__
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif /* __cplusplus */
23
24 #include <ui-gadget-module.h>
25 #include <Evas.h>
26 #include <Elementary.h>
27 #include <dlog.h>
28 #include <nfc.h>
29
30 #define PACKAGE "ug-setting-nfc-efl"
31 #ifdef PREFIX
32 #undef PREFIX
33 #endif
34 #define PREFIX "/opt/ug/"
35 #define LOCALE_PATH             PREFIX"/res/locale"
36
37 #ifdef LOG_TAG
38 #undef LOG_TAG
39 #endif
40
41 #define LOG_TAG "UG_NFC_SETTING_EFL"
42
43 #define NFCUG_TEXT_DOMAIN               PACKAGE
44 #define NFCUG_LOCALEDIR         LOCALE_PATH
45
46 /* Registered string in STMS NFC */
47 #define IDS_ACTIVATION          dgettext(PACKAGE, "IDS_NFC_POP_ACTIVATION")
48 #define IDS_NFC                         dgettext(PACKAGE, "IDS_NFC_BODY_NFC")
49
50
51 typedef struct _ugdata_t
52 {
53         Evas_Object* ug_win_main;
54         struct ui_gadget *nfc_setting_ug;
55         Evas_Object* base_layout;
56         Evas_Object *bg;
57         Evas_Object *check;
58
59         Evas_Object* base_naviframe;
60         Elm_Object_Item *base_navi_it;
61 }ugdata_t;
62
63 #ifdef __cplusplus
64 }
65 #endif
66
67 #endif /*__UG_NFC_SETTING_MAIN_H__*/