2 * Copyright (c) 2012, 2013 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://floralicense.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_POPUP_H__
19 #define __UG_NFC_SETTING_POPUP_H__
23 #endif /* __cplusplus */
25 #include "ug-nfc-setting-main.h"
27 typedef void (*UG_NFC_POPUP_USER_RESP_CB)(void *data, Evas_Object *obj, void *event_info);
30 UG_NFC_POPUP_RESP_NONE = -1,
31 UG_NFC_POPUP_RESP_TIMEOUT = -2,
32 UG_NFC_POPUP_RESP_OK = -3,
33 UG_NFC_POPUP_RESP_CANCEL = -4,
34 UG_NFC_POPUP_RESP_CLOSE = -5
38 Evas_Object *ug_nfc_setting_create_popup(void *data,
39 Evas_Object *parent_layout,
41 const char *description,
42 const char *btn1_text,
44 const char *btn2_text,
46 const char *btn3_text,
50 UG_NFC_POPUP_USER_RESP_CB response_cb);
51 void ug_nfc_setting_close_popup(Evas_Object* popup);
58 #endif /*__UG_NFC_SETTING_POPUP_H__*/