Add the sender name in signal subscribe function
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-avrcp-controller.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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
7  *
8  *              http://www.apache.org/licenses/LICENSE-2.0
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
19 #ifndef _BT_SERVICE_AVRCP_CONTROLLER_H_
20 #define _BT_SERVICE_AVRCP_CONTROLLER_H_
21
22 #include <glib.h>
23 #include <sys/types.h>
24 #include <gio/gio.h>
25
26 #include "bluetooth-api.h"
27 #include "bluetooth-media-control.h"
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33
34 #define BT_MEDIA_CONTROL_PATH "%s/player0"
35
36 int _bt_avrcp_control_cmd(int type);
37
38 int _bt_avrcp_control_set_property(int type, unsigned int value);
39
40 int _bt_avrcp_control_get_property(int type, unsigned int *value);
41
42 int _bt_avrcp_control_get_track_info(media_metadata_attributes_t *metadata);
43
44 void _bt_handle_avrcp_control_event(GVariant *reply, const char *path);
45
46 void _bt_set_control_device_path(const char *path);
47
48 void _bt_remove_control_device_path(const char *path);
49
50 #ifdef __cplusplus
51 }
52 #endif /* __cplusplus */
53 #endif /*_BT_SERVICE_AVRCP_CONTROLLER_H_*/
54
55