BLE Gatt Server Socket notify implementation.
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-avrcp-tg-dbus-handler.h
1 /* Bluetooth-frwk
2  *
3  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
4  *
5  * Contact: Atul Kumar Rai <a.rai@samsung.com>
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *              http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21
22 #ifndef _BT_HAL_AVRCP_TG_DBUS_HANDLER_H_
23 #define _BT_HAL_AVRCP_TG_DBUS_HANDLER_H_
24
25 #include <glib.h>
26 #include <sys/types.h>
27
28 #include "bt-hal.h"
29 #include "bt-hal-log.h"
30 #include "bt-hal-msg.h"
31
32 #include "bt-hal-event-receiver.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 void _bt_hal_register_avrcp_tg_dbus_handler_cb(handle_stack_msg cb);
39 void _bt_hal_unregister_avrcp_tg_dbus_handler_cb();
40
41 #ifdef TIZEN_BT_HAL
42 bt_status_t _bt_hal_dbus_handler_avrcp_tg_connect(bt_bdaddr_t *bd_addr);
43 bt_status_t _bt_hal_dbus_handler_avrcp_tg_disconnect(bt_bdaddr_t *bd_addr);
44 #endif
45 bt_status_t _bt_hal_dbus_handler_register_media_player(void);
46 bt_status_t _bt_hal_dbus_handler_unregister_media_player(void);
47 bt_status_t _bt_hal_dbus_handler_avrcp_tg_play_status_changed(btrc_play_status_t play_status);
48 bt_status_t _bt_hal_dbus_handler_avrcp_tg_play_pos_changed(uint32_t song_pos);
49 bt_status_t _bt_hal_dbus_handler_avrcp_tg_app_setting_changed(btrc_player_settings_t *player_setting);
50 bt_status_t _bt_hal_dbus_handler_avrcp_tg_set_track_info(uint8_t num_attr, btrc_element_attr_val_t *p_attrs);
51
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55 #endif /* _BT_HAL_AVRCP_TG_DBUS_HANDLER_H_ */