2 * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.1 (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.
17 #ifndef __UG_NFC_SHARE_POPUP_H__
18 #define __UG_NFC_SHARE_POPUP_H__
22 #endif /* __cplusplus */
24 #include "ug-nfc-share-main.h"
26 typedef void (*UG_NFC_POPUP_USER_RESP_CB)(void *data, Evas_Object *obj, void *event_info);
29 UG_NFC_POPUP_RESP_NONE = -1,
30 UG_NFC_POPUP_RESP_TIMEOUT = -2,
31 UG_NFC_POPUP_RESP_OK = -3,
32 UG_NFC_POPUP_RESP_CANCEL = -4,
33 UG_NFC_POPUP_RESP_CLOSE = -5
37 Evas_Object *ug_nfc_share_create_popup(void *data,
38 Evas_Object *parent_layout,
39 const char *description,
40 const char *btn1_text,
42 const char *btn2_text,
44 const char *btn3_text,
48 UG_NFC_POPUP_USER_RESP_CB response_cb);
49 void ug_nfc_share_close_popup(Evas_Object* popup);
56 #endif /*__UG_NFC_SHARE_POPUP_H__*/