Initialize Tizen 2.3
[apps/home/ug-nfc-efl.git] / ug-nfc-share-efl / include / ug-nfc-share-tag.h
1 /*
2   * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
3   *
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
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_SHARE_TAG_H__
19 #define __UG_NFC_SHARE_TAG_H__
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24
25 #include "ug-nfc-share-main.h"
26
27 /* get and set function */
28 #if 0
29 char* ug_nfc_share_get_display_str(void);
30 void ug_nfc_share_set_display_str(const char* text);
31 #endif
32 ug_nfc_share_tag_type ug_nfc_share_get_tag_type(void);
33 void ug_nfc_share_set_tag_type(ug_nfc_share_tag_type tag_type);
34 nfc_ndef_message_h ug_nfc_share_get_current_ndef(void *data);
35 ug_nfc_share_result_e ug_nfc_share_set_current_ndef(void *data, nfc_ndef_message_h ndef_msg);
36
37 /* util function */
38 #if 0
39 char *ug_nfc_share_get_display_text_from_ndef(ug_nfc_share_tag_type record_type, nfc_ndef_message_h ndef_msg);
40 #endif
41 ug_nfc_share_result_e ug_nfc_share_make_ndef_message_from_file(nfc_ndef_message_h *msg, const char *path);
42 ug_nfc_share_result_e ug_nfc_share_make_ndef_message_from_multi_file(nfc_ndef_message_h *msg, const char *path[], int record_count); /* nfc_handover */
43 void ug_nfc_set_nfc_callback(void *user_data);
44 void ug_nfc_unset_nfc_callback(void);
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50 #endif /*__UG_NFC_SHARE_MAIN_H__*/