Fix typo 56/171456/1 accepted/tizen/unified/20180307.071309 submit/tizen/20180305.053300
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 5 Mar 2018 05:09:39 +0000 (14:09 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Mon, 5 Mar 2018 05:09:39 +0000 (14:09 +0900)
Change-Id: I48543419a8a3816b3d33d10ab67f9556b0314c03
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media_controller_client.h
include/media_controller_server.h

index 908e147554223b5a88ef2f3af7c4dfd60ef5deef..bd37f47caa54da985dce333641d2cf9f5ea5b780 100755 (executable)
@@ -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
index 3741cda8fb47030bfe3eedff619e52f6993c4e96..eba28bc157f3e26e7fa6e94af49977736ba0df57 100755 (executable)
@@ -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