Code Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-avrcp.h
old mode 100644 (file)
new mode 100755 (executable)
index 4dd8952..cf9e736
@@ -1,13 +1,17 @@
 /*
- * bluetooth-frwk
+ * Bluetooth-frwk
  *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:  Hocheol Seo <hocheol.seo@samsung.com>
+ *              Girishashok Joshi <girish.joshi@samsung.com>
+ *              Chanyeol Park <chanyeol.park@samsung.com>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *              http://www.apache.org/licenses/LICENSE-2.0
+ *             http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -17,6 +21,7 @@
  *
  */
 
+
 #ifndef _BT_SERVICE_AVRCP_H_
 #define _BT_SERVICE_AVRCP_H_
 
 extern "C" {
 #endif
 
-#define BLUEZ_MEDIA_PLAYER_INTERFACE   "org.bluez.MediaPlayer"
 #define BT_MEDIA_OBJECT_PATH "/Musicplayer"
 
+#define BT_MEDIA_CONTROL_PATH "%s/player0"
+
 int _bt_register_media_player(void);
 
 int _bt_unregister_media_player(void);
 
+int _bt_avrcp_set_track_info(media_metadata_attributes_t *meta_data);
+
 int _bt_avrcp_set_properties(media_player_settings_t *properties);
 
 int _bt_avrcp_set_property(int type, unsigned int value);
 
+int _bt_avrcp_control_cmd(int type);
+
+int _bt_avrcp_control_set_property(int type, unsigned int value);
+
+int _bt_avrcp_control_get_property(int type, unsigned int *value);
+
+int _bt_avrcp_control_get_track_info(media_metadata_attributes_t *metadata);
+
+void _bt_handle_avrcp_control_event(DBusMessageIter *msg_iter, const char *path);
 
 #ifdef __cplusplus
 }