From 4a270c8a46467ede047bfa9f7933a6acf65275c1 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Mon, 5 Mar 2018 14:09:39 +0900 Subject: Fix typo Change-Id: I48543419a8a3816b3d33d10ab67f9556b0314c03 Signed-off-by: Minje Ahn --- include/media_controller_client.h | 40 +++++++++++++++++++-------------------- include/media_controller_server.h | 12 ++++++------ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/include/media_controller_client.h b/include/media_controller_client.h index 908e147..bd37f47 100755 --- a/include/media_controller_client.h +++ b/include/media_controller_client.h @@ -42,7 +42,7 @@ extern "C" { * * @param[in] server_name The app_id of the updated media controller server, it can be used only in the callback. To use outside, make a copy. * @param[in] state The state of the updated media controller server - * @param[in] user_data The user data passed from the mc_client_set_server_update_cb() fuction + * @param[in] user_data The user data passed from the mc_client_set_server_update_cb() function * * @pre mc_client_set_server_update_cb() * @@ -58,7 +58,7 @@ typedef void (*mc_server_state_updated_cb)(const char *server_name, mc_server_st * * @param[in] server_name The app_id of the updated media controller server, it can be used only in the callback. To use outside, make a copy. * @param[in] playback The playback information of the updated media controller server - * @param[in] user_data The user data passed from the mc_client_set_playback_update_cb() fuction + * @param[in] user_data The user data passed from the mc_client_set_playback_update_cb() function * * @pre mc_client_set_playback_update_cb() * @@ -74,7 +74,7 @@ typedef void (*mc_playback_updated_cb)(const char *server_name, mc_playback_h pl * * @param[in] server_name The app_id of the updated media controller server, it can be used only in the callback. To use outside, make a copy. * @param[in] metadata the metadata of the updated media controller server - * @param[in] user_data The user data passed from the mc_client_set_metadata_update_cb() fuction + * @param[in] user_data The user data passed from the mc_client_set_metadata_update_cb() function * * @pre mc_client_set_metadata_update_cb() * @@ -90,7 +90,7 @@ typedef void (*mc_metadata_updated_cb)(const char *server_name, mc_metadata_h me * * @param[in] server_name The app_id of the updated media controller server, it can be used only in the callback. To use outside, make a copy. * @param[in] mode The shuffle mode of the updated media controller server - * @param[in] user_data The user data passed from the mc_client_set_shuffle_mode_update_cb() fuction + * @param[in] user_data The user data passed from the mc_client_set_shuffle_mode_update_cb() function * * @pre mc_client_set_shuffle_mode_update_cb() * @@ -106,7 +106,7 @@ typedef void (*mc_shuffle_mode_changed_cb)(const char *server_name, mc_shuffle_m * * @param[in] server_name The app_id of the updated media controller server, it can be used only in the callback. To use outside, make a copy. * @param[in] mode The repeat mode of the updated media controller server - * @param[in] user_data The user data passed from the mc_client_set_repeat_mode_update_cb() fuction + * @param[in] user_data The user data passed from the mc_client_set_repeat_mode_update_cb() function * * @pre mc_client_set_repeat_mode_update_cb() * @@ -121,7 +121,7 @@ typedef void (*mc_repeat_mode_changed_cb)(const char *server_name, mc_repeat_mod * @remarks The callback is called in the dbus event loop. * * @param[in] server_name The app_id of the activated media controller server, it can be used only in the callback. To use outside, make a copy. - * @param[in] user_data The user data passed from the mc_client_foreach_server() fuction + * @param[in] user_data The user data passed from the mc_client_foreach_server() function * * @return @c true to continue with the next iteration of the loop, * otherwise @c false to break out of the loop @@ -141,7 +141,7 @@ typedef bool (*mc_activated_server_cb)(const char *server_name, void *user_data) * @param[in] server_name The app_id of the updated media controller server, it can be used only in the callback. To use outside, make a copy. * @param[in] result_code The result code of custom command * @param[in] data The extra data - * @param[in] user_data The user data passed from the mc_client_send_custom_command() fuction + * @param[in] user_data The user data passed from the mc_client_send_custom_command() function * * @pre mc_client_send_custom_command() * @@ -156,7 +156,7 @@ typedef void (*mc_command_reply_received_cb)(const char *server_name, int result * @remarks The callback is called in the dbus event loop. * * @param[in] server_name The app_id of the subscribed media controller server, it can be used only in the callback. To use outside, make a copy. - * @param[in] user_data The user data passed from the mc_client_foreach_server_subscribed() fuction + * @param[in] user_data The user data passed from the mc_client_foreach_server_subscribed() function * * @return @c true to continue with the next iteration of the loop, * otherwise @c false to break out of the loop @@ -190,7 +190,7 @@ int mc_client_create(mc_client_h *client); /** * @brief Sets the callback for monitoring status of the media controller server. - * @details If media controller client call this function, basically the media controller client recieve the callback from all media controller servers. + * @details If media controller client call this function, basically the media controller client receive the callback from all media controller servers. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public @@ -231,7 +231,7 @@ int mc_client_unset_server_update_cb(mc_client_h client); /** * @brief Sets the callback for monitoring playback status of the media controller server. - * @details If media controller client call this function, basically the media controller client recieve the callback from all media controller servers. \n + * @details If media controller client call this function, basically the media controller client receive the callback from all media controller servers. \n * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public @@ -272,7 +272,7 @@ int mc_client_unset_playback_update_cb(mc_client_h client); /** * @brief Sets the callback for monitoring metadata status of the media controller server. - * @details If media controller client call this function, basically the media controller client recieve the callback from all media controller servers. + * @details If media controller client call this function, basically the media controller client receive the callback from all media controller servers. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public @@ -313,7 +313,7 @@ int mc_client_unset_metadata_update_cb(mc_client_h client); /** * @brief Sets the callback for monitoring shuffle mode of the media controller server. - * @details If media controller client call this function, basically the media controller client recieve the callback from all media controller servers. + * @details If media controller client call this function, basically the media controller client receive the callback from all media controller servers. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public @@ -354,7 +354,7 @@ int mc_client_unset_shuffle_mode_update_cb(mc_client_h client); /** * @brief Sets the callback for monitoring repeat mode of the media controller server. - * @details If media controller client call this function, basically the media controller client recieve the callback from all media controller servers. + * @details If media controller client call this function, basically the media controller client receive the callback from all media controller servers. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public @@ -396,9 +396,9 @@ int mc_client_unset_repeat_mode_update_cb(mc_client_h client); /** * @brief Subscribes media controller server for monitoring status. * @details If media controller client subscribe media controller server, \n - * the media controller client recieve callback from subscribed media controller server. \n + * the media controller client receive callback from subscribed media controller server. \n * If media controller client subscribe media controller server one or more, \n - * the media controller client can recieve callback from only subscribed media controller server. \n + * the media controller client can receive callback from only subscribed media controller server. \n * If you want to subscribe for the all media controller server again, \n * unset mode update callback and set the callback for the monitoring status again. \n * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif @@ -425,10 +425,10 @@ int mc_client_subscribe(mc_client_h client, mc_subscription_type_e subscription_ /** * @brief Unsubscribes media controller server for monitoring status. * @details If media controller client unsubscribe media controller server, \n - * the media controller client don't recieve callback from unsubscribed media controller server. \n - * If media controller client unsubscribe all subscibed media controller server, \n - * the media controller client don't recieve callback from all media controller server. \n - * After unset and set update callback function is called again, the media controller client can recieve callback from all media controller servers. \n + * the media controller client don't receive callback from unsubscribed media controller server. \n + * If media controller client unsubscribe all subscribed media controller server, \n + * the media controller client don't receive callback from all media controller server. \n + * After unset and set update callback function is called again, the media controller client can receive callback from all media controller servers. \n * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public @@ -777,7 +777,7 @@ int mc_client_send_repeat_mode_command(mc_client_h client, const char *server_na /** * @brief Sends the custom command to server. - * @details If there is the result for comand from server, the media controller client will get the result of the custom command by mc_command_reply_received_cb() callback. + * @details If there is the result for command from server, the media controller client will get the result of the custom command by mc_command_reply_received_cb() callback. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @privlevel public diff --git a/include/media_controller_server.h b/include/media_controller_server.h index 3741cda..eba28bc 100755 --- a/include/media_controller_server.h +++ b/include/media_controller_server.h @@ -42,7 +42,7 @@ extern "C" { * * @param[in] client_name The app_id of the media controller client, it can be used only in the callback. To use outside, make a copy. * @param[in] state The received playback state - * @param[in] user_data The user data passed from the mc_server_set_playback_state_command_received_cb() fuction + * @param[in] user_data The user data passed from the mc_server_set_playback_state_command_received_cb() function * * @pre mc_server_set_playback_state_command_received_cb() * @@ -58,7 +58,7 @@ typedef void (*mc_server_playback_state_command_received_cb)(const char* client_ * * @param[in] client_name The app_id of the media controller client, it can be used only in the callback. To use outside, make a copy. * @param[in] position The received playback position - * @param[in] user_data The user data passed from the mc_server_set_playback_position_command_received_cb() fuction + * @param[in] user_data The user data passed from the mc_server_set_playback_position_command_received_cb() function * * @pre mc_server_set_playback_position_command_received_cb() * @@ -74,7 +74,7 @@ typedef void (*mc_server_playback_position_command_received_cb)(const char* clie * * @param[in] client_name The app_id of the media controller client, it can be used only in the callback. To use outside, make a copy. * @param[in] shuffle_mode The received shuffle_mode - * @param[in] user_data The user data passed from the mc_server_set_shuffle_mode_command_received_cb() fuction + * @param[in] user_data The user data passed from the mc_server_set_shuffle_mode_command_received_cb() function * * @pre mc_server_set_shuffle_mode_command_received_cb() * @@ -90,7 +90,7 @@ typedef void (*mc_server_shuffle_mode_command_received_cb)(const char* client_na * * @param[in] client_name The app_id of the media controller client, it can be used only in the callback. To use outside, make a copy. * @param[in] repeat_mode The received repeat mode - * @param[in] user_data The user data passed from the mc_server_set_repeat_mode_command_received_cb() fuction + * @param[in] user_data The user data passed from the mc_server_set_repeat_mode_command_received_cb() function * * @pre mc_server_set_repeat_mode_command_received_cb() * @@ -109,7 +109,7 @@ typedef void (*mc_server_repeat_mode_command_received_cb)(const char* client_nam * @param[in] client_name The app_id of the media controller client, it can be used only in the callback. To use outside, make a copy. * @param[in] command The received command * @param[in] data The extra data - * @param[in] user_data The user data passed from the mc_server_set_custom_command_received_cb() fuction + * @param[in] user_data The user data passed from the mc_server_set_custom_command_received_cb() function * * @pre mc_server_set_custom_command_received_cb() * @@ -490,7 +490,7 @@ int mc_server_unset_custom_command_received_cb(mc_server_h server); * @privlevel public * @privilege %http://tizen.org/privilege/mediacontroller.server * - * @remarks When server recieve command, this function can be called by mc_server_custom_command_received_cb(). + * @remarks When server receive command, this function can be called by mc_server_custom_command_received_cb(). * * @param[in] server The handle to media controller server * @param[in] client_name The app_id of the media controller client -- cgit v1.2.3