Remove the devider of genlist for IOT profile
[apps/native/ug-bluetooth-efl.git] / standard / bt-callback.h
1 /*
2 * ug-bluetooth-efl
3 *
4 * Copyright 2012 Samsung Electronics Co., Ltd
5 *
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 *           GirishAshok Joshi <girish.joshi@samsung.com>
8 *           DoHyun Pyun <dh79.pyun@samsung.com>
9 *
10 * Licensed under the Flora License, Version 1.1 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.tizenopensource.org/license
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 *
22 */
23
24 #ifndef __BT_CALLBACK_H
25 #define __BT_CALLBACK_H
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #include <bluetooth.h>
32
33 void _bt_cb_state_changed(int result,
34                         bt_adapter_state_e adapter_state,
35                         void *user_data);
36
37 void _bt_cb_discovery_state_changed(int result,
38                         bt_adapter_device_discovery_state_e discovery_state,
39                         bt_adapter_device_discovery_info_s *discovery_info,
40                         void *user_data);
41 void _bt_cb_visibility_mode_changed
42         (int result, bt_adapter_visibility_mode_e visibility_mode, void *user_data);
43
44 void _bt_cb_gatt_connection_state_changed(int result, bool connected, char *remote_address, void *user_data);
45
46 void _bt_cb_new_le_device_found(int result, bt_adapter_le_device_scan_result_info_s *info, void *data);
47
48 void _bt_cb_bonding_created(int result, bt_device_info_s *device_info,
49                                 void *user_data);
50
51 void _bt_cb_bonding_destroyed(int result, char *remote_address,
52                                         void *user_data);
53
54 void _bt_cb_service_searched(int result, bt_device_sdp_info_s *sdp_info,
55                         void *user_data);
56
57 void _bt_cb_hid_state_changed(int result, bool connected,
58                         const char *remote_address,
59                         void *user_data);
60
61 void _bt_cb_audio_state_changed(int result, bool connected,
62                                 const char *remote_address,
63                                 bt_audio_profile_type_e type,
64                                 void *user_data);
65 #ifdef TIZEN_BT_A2DP_SINK_ENABLE
66 void _bt_cb_a2dp_source_state_changed(int result, bool connected,
67                                 const char *remote_address,
68                                 bt_audio_profile_type_e type,
69                                 void *user_data);
70 #endif
71 void _bt_cb_adapter_name_changed(char *device_name, void *user_data);
72
73 void _bt_cb_nap_state_changed(bool connected, const char *remote_address,
74                                 const char *interface_name, void *user_data);
75
76 void _bt_cb_device_connection_state_changed(bool connected,
77                                 bt_device_connection_info_s *conn_info,
78                                 void *user_data);
79
80 void _bt_retry_connection_cb(void *data,
81                                 Evas_Object *obj, void *event_info);
82
83 #ifdef __cplusplus
84 }
85 #endif
86 #endif                          /* __BT_CALLBACK_H */