From: DoHyun Pyun Date: Thu, 16 Mar 2017 08:42:01 +0000 (+0900) Subject: Fix the build error for hf vendor APIs X-Git-Tag: submit/tizen_3.0/20170428.003957~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1226404b9d5158d8ecbdfe196c20c402b5f2ddee;p=platform%2Fcore%2Fapi%2Fbluetooth.git Fix the build error for hf vendor APIs Change-Id: Ifdb95df3e8a1bb1d05977fc68a9272177c8e98fe Signed-off-by: DoHyun Pyun --- diff --git a/include/bluetooth_private.h b/include/bluetooth_private.h index c7781c7..6906c2c 100644 --- a/include/bluetooth_private.h +++ b/include/bluetooth_private.h @@ -717,19 +717,6 @@ typedef enum { */ typedef void (*bt_hf_remote_device_state_changed_cb) (bt_hf_remote_device_state_e state, int value, void *user_data); -/** - * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE - * @brief Called when a vendor command event happened from Hands-Free. - * @since_tizen 2.3.2 - * @remarks The @a meesage of cmd must be released with free() by you. - * - * @param[in] cmd The information of vendor command - * @param[in] user_data The user data passed from the callback registration function - * @see bt_hf_set_vendor_dep_cmd_event_cb() - * @see bt_hf_unset_vendor_dep_cmd_event_cb() - */ -typedef void (*bt_hf_vendor_dep_cmd_event_cb) (bt_hf_vendor_dep_at_cmd_s cmd, void *user_data); - /** * @internal * @brief Since the HF call back and event proxy call backs have different prototype it is wrapper function. diff --git a/include/wearable/bluetooth_type_internal.h b/include/wearable/bluetooth_type_internal.h index f7a3851..b831fba 100644 --- a/include/wearable/bluetooth_type_internal.h +++ b/include/wearable/bluetooth_type_internal.h @@ -837,6 +837,19 @@ typedef struct { */ typedef void (*bt_hf_remote_call_event_cb) (bt_hf_remote_call_event_e event, char *phone_number, void *user_data); +/** + * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE + * @brief Called when a vendor command event happened from Hands-Free. + * @since_tizen 2.3.2 + * @remarks The @a meesage of cmd must be released with free() by you. + * + * @param[in] cmd The information of vendor command + * @param[in] user_data The user data passed from the callback registration function + * @see bt_hf_set_vendor_dep_cmd_event_cb() + * @see bt_hf_unset_vendor_dep_cmd_event_cb() + */ +typedef void (*bt_hf_vendor_dep_cmd_event_cb) (bt_hf_vendor_dep_at_cmd_s cmd, void *user_data); + /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Called when a XSAT vendor command is transmitted from Hands-Free.