* @param[in] callback The set of lifecycle callbacks of the frame component
* @param[in] user_data The user data to be passed to the callback functions
* @return @a comp_class on success, otherwise NULL
- * @exception #APP_ERROR_NONE Sucessful
+ * @exception #APP_ERROR_NONE Successful
* @exception #APP_ERROR_INVALID_PARAMETER Invalid parameter
* @exception #APP_ERROR_OUT_OF_MEMORY Out of memory
* @see get_last_result()
* @param[in] callback The set of lifecycle callbacks of the service component
* @param[in] user_data The user data to be passed to the callback functions
* @return @a comp_class on success, otherwise NULL
- * @exception #APP_ERROR_NONE Sucessful
+ * @exception #APP_ERROR_NONE Successful
* @exception #APP_ERROR_INVALID_PARAMETER Invalid parameter
* @exception #APP_ERROR_OUT_OF_MEMORY Out of memory
* @see get_last_result()
* @remarks The @a language must not be deallocated by the component. The @a language can be used only in the callback.
*
* @param[in] context The context of the service component instance
- * @param[in] language The langauge
+ * @param[in] language The language
* @param[in] user_data The user data passed from component_based_app_add_service_component() function
*/
typedef void (*service_component_language_changed_cb)(
service_component_create_cb create; /**< The callback function called after the service component instance is created. */
service_component_start_command_cb start_command; /**< The callback function called when the service component instance is started. */
service_component_destroy_cb destroy; /**< The callback function called before the service component instance is destroyed. */
- service_component_restore_content_cb restore_content; /**< The callback function called when the content inforamtion of the service component instance is restored. */
+ service_component_restore_content_cb restore_content; /**< The callback function called when the content information of the service component instance is restored. */
service_component_save_content_cb save_content; /**< The callback function called before the content information of the service component instance is saved. */
service_component_action_cb action; /**< The callback function called when another application sends a launch request to the component. */
service_component_device_orientation_changed_cb device_orientation_changed; /**< The callback function called when the device orientation is changed. */