[Attach-panel] Fixed header file about english and coding standard 48/105348/1 accepted/tizen/mobile/20161219.021516 submit/tizen/20161216.093230
authormoon87.park <moon87.park@samsung.com>
Fri, 16 Dec 2016 08:43:34 +0000 (17:43 +0900)
committermoon87.park <moon87.park@samsung.com>
Fri, 16 Dec 2016 08:43:34 +0000 (17:43 +0900)
Change-Id: I7fc7cb007be80104da6d99efc87b3d528ebfe689

doc/attach_panel_doc.h
include/attach_panel.h

index b0aaff421253a9954063423398c8c06d54330902..a5a3d1cad3d3f44801ec061432e9138c8f45c63c 100644 (file)
  * limitations under the License.
  */
 
+
 #ifndef __TIZEN_ATTACH_PANEL_DOC_H__
 #define __TIZEN_ATTACH_PANEL_DOC_H__
 
+
 /**
  * @ingroup CAPI_APPLICATION_FRAMEWORK
  * @defgroup CAPI_PANEL_ATTACH_MODULE Attach panel
- * @brief Attach panel provides functions to attach images, voices, contacts, events and files. Users can attach images, take pictures, record voice and select files to attach into the caller app
- *
+ * @brief Attach panel provides functions to attach images, voices, contacts, events and files. Users can attach images, take pictures, record voice and select files to attach into the caller app.
  * @section CAPI_PANEL_ATTACH_MODULE_HEADER Required Header
- *   \#include <attach_panel.h>
+ * \#include <attach_panel.h>
  *
  * @section CAPI_PANEL_ATTACH_MODULE_OVERVIEW Overview
- * - It provides functions for adding an attach panel (attach_panel_create()) and deleting it (attach_panel_destroy()) in an app.\n
- * - Content categories can be added (attach_panel_add_content_category()) or removed (attach_panel_remove_content_category()).\n
+ * - It provides functions for adding an attach panel (attach_panel_create()) and deleting it (attach_panel_destroy()) in an app. \n
+ * - Content categories can be added (attach_panel_add_content_category()) or removed (attach_panel_remove_content_category()). \n
  * - Dynamic configurations can be handled with (attach_panel_set_extra_data()). This is used with a content category.
- * - Results can be returned into the result callback that is set (attach_panel_set_result_cb()) or unset (attach_panel_unset_result_cb()).\n
- * - Events are delivered into the event callback that is set with (attach_panel_set_event_cb()) or unset with (attach_panel_unset_event_cb()).\n
- * - The panel can be shown with (attach_panel_show()) and hidden with (attach_panel_hide()).\n
- * - You can get the state of the panel with (attach_panel_get_visibility()).\n
+ * - Results can be returned into the result callback that is set with (attach_panel_set_result_cb()) or unset with (attach_panel_unset_result_cb()). \n
+ * - Events are delivered into the event callback that is set with (attach_panel_set_event_cb()) or unset with (attach_panel_unset_event_cb()). \n
+ * - The panel can be shown with (attach_panel_show()) and hidden with (attach_panel_hide()). \n
+ * - You can get the state of the panel with (attach_panel_get_visibility()).
  *
  * @section CAPI_PANEL_ATTACH_MODULE_FEATURE Related Features
- * This API is related with the following features:\n
- *  - %http://tizen.org/feature/camera\n
- *  - %http://tizen.org/feature/microphone\n
- *
- * It is recommended to design feature related codes in your application for reliability.\n
+ * This API is related with the following features: \n
+ *  - %http://tizen.org/feature/camera \n
+ *  - %http://tizen.org/feature/microphone
+ * It is recommended to design feature related codes in your application for reliability. \n
  * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.\n
  * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n
  * More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature Element</b>.</a>
index a1b5a74bf590afe90928f54265c50b44e17b97cb..c6762151219e94a8f6aa33d6d5345e46080394b9 100644 (file)
@@ -42,27 +42,28 @@ extern "C" {
  */
 
 /**
- * @brief Enumeration for content categories
+ * @brief Enumeration for content categories.
  * @since_tizen 2.4
  * @see attach_panel_add_content_category()
  * @see attach_panel_remove_content_category()
  */
 typedef enum attach_panel_content_category {
-       ATTACH_PANEL_CONTENT_CATEGORY_IMAGE = 1, /**< Attaching images from the gallery on Image tab */
-       ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, /**< Taking pictures to attach by Camera tab */
-       ATTACH_PANEL_CONTENT_CATEGORY_VOICE, /**< Taking a voice clip to attach by Voice tab */
-       ATTACH_PANEL_CONTENT_CATEGORY_VIDEO, /**< Launching apps to attach video contents */
-       ATTACH_PANEL_CONTENT_CATEGORY_AUDIO, /**< Launching apps to attach audio contents */
-       ATTACH_PANEL_CONTENT_CATEGORY_CALENDAR, /**< Launching apps to attach calendar data */
-       ATTACH_PANEL_CONTENT_CATEGORY_CONTACT, /**< Launching apps to attach contact data */
-       ATTACH_PANEL_CONTENT_CATEGORY_MYFILES, /**< Launching apps to attach file data */
-       ATTACH_PANEL_CONTENT_CATEGORY_VIDEO_RECORDER, /**< Launching apps to take a video clip will be attached */
-       ATTACH_PANEL_CONTENT_CATEGORY_DOCUMENT, /**< Attaching files from the document list by Document tab (Since 3.0) */
+       ATTACH_PANEL_CONTENT_CATEGORY_IMAGE = 1, /**< Attaching images from the gallery */
+       ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, /**< Taking pictures to attach */
+       ATTACH_PANEL_CONTENT_CATEGORY_VOICE, /**< Taking a voice clip to attach */
+       ATTACH_PANEL_CONTENT_CATEGORY_VIDEO, /**< Attaching video from the gallery */
+       ATTACH_PANEL_CONTENT_CATEGORY_AUDIO, /**< Attaching audio from my files */
+       ATTACH_PANEL_CONTENT_CATEGORY_CALENDAR, /**< Attaching calendar data from the calendar */
+       ATTACH_PANEL_CONTENT_CATEGORY_CONTACT, /**< Attaching contact data from the contacts */
+       ATTACH_PANEL_CONTENT_CATEGORY_MYFILES, /**< Attaching files data from my files */
+       ATTACH_PANEL_CONTENT_CATEGORY_VIDEO_RECORDER, /**< Taking a video clip to attach */
+       ATTACH_PANEL_CONTENT_CATEGORY_DOCUMENT, /**< attaching files from the document list (Since 3.0) */
        ATTACH_PANEL_CONTENT_CATEGORY_TAKE_PICTURE, /**< Launching apps to take pictures will be attached (Since 3.0) */
 } attach_panel_content_category_e;
 
+
 /**
- * @brief Enumeration for events
+ * @brief Enumeration for events.
  * @since_tizen 2.4
  * @see attach_panel_set_event_cb()
  * @see attach_panel_unset_event_cb()
@@ -92,9 +93,9 @@ typedef enum {
  */
 typedef struct _attach_panel *attach_panel_h;
 
+
 /**
  * @brief Called when an user selects and confirms something to attach on the caller app.
- *
  * @since_tizen 2.4
  * @param[in] attach_panel Attach panel handler
  * @param[in] content_category results are from the content category
@@ -104,17 +105,16 @@ typedef struct _attach_panel *attach_panel_h;
  * @param[in] result_code result of app_control
  * @param[in] user_data user data
  * @pre The callback must be registered using attach_panel_set_result_cb()\n
- * attach_panel_add_content_category() and attach_panel_show() must be called to invoke this callback.
- *
+ *             attach_panel_add_content_category() and attach_panel_show() must be called to invoke this callback.
  * @see @ref CAPI_APP_CONTROL_MODULE API app_control_get_extra_data_array()
  * @see        attach_panel_set_result_cb()
  * @see        attach_panel_unset_result_cb()
  */
 typedef void (*attach_panel_result_cb)(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result, app_control_result_e result_code, void *user_data);
 
+
 /**
  * @brief Called when reserved events are published from the panel-side.
- *
  * @since_tizen 2.4
  * @param[in] attach_panel Attach panel handler
  * @param[in] event Attach panel event
@@ -122,12 +122,12 @@ typedef void (*attach_panel_result_cb)(attach_panel_h attach_panel, attach_panel
  *                       This can be NULL if there are no necessary information.
  * @param[in] user_data user data
  * @pre The callback must be registered using attach_panel_set_event_cb()
- *
  * @see        attach_panel_set_event_cb()
  * @see        attach_panel_unset_event_cb()
  */
 typedef void (*attach_panel_event_cb)(attach_panel_h attach_panel, attach_panel_event_e event, void *event_info, void *user_data);
 
+
 /**
  * @brief Enumeration for values of attach-panel response types.
  * @since_tizen 2.4
@@ -143,13 +143,13 @@ typedef enum attach_panel_error {
        ATTACH_PANEL_ERROR_ALREADY_DESTROYED = TIZEN_ERROR_PANEL | 0x05, /**< The panel is already removed */
 } attach_panel_error_e;
 
+
 /**
  * @brief Creates an attach panel.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
  *          A conformant object can have only one @a attach_panel_h.\n
  *          If a caller app try to add more than one attach-panel, it fails to add it.
- *
  * @param[in] conformant The caller's conformant
  * @param[out] attach_panel Attach panel handler
  * @return #ATTACH_PANEL_ERROR_NONE on success,
@@ -158,7 +158,6 @@ typedef enum attach_panel_error {
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_OUT_OF_MEMORY Out of memory
  * @retval #ATTACH_PANEL_ERROR_ALREADY_EXISTS Already exists
- *
  * @see attach_panel_destroy()
  * @see attach_panel_add_content_category()
  * @see attach_panel_remove_content_category()
@@ -176,111 +175,101 @@ typedef enum attach_panel_error {
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static void _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result, app_control_result_e result_code, void *data)
+ * static void
+ * _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result,
+ *            app_control_result_e result_code, void *data)
  * {
- *   char **select = NULL;
- *   int i = 0;
- *   int length = 0;
- *   int ret = APP_CONTROL_ERROR_NONE;
- *
- *   if (!result) {
- *     // Error handling
- *   }
- *
- *   if (APP_CONTROL_RESULT_SUCCEEDED != result_code) {
- *     // Error handling
- *   }
- *
- *   ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
- *   if (APP_CONTROL_ERROR_NONE != ret || !select) {
- *     // Error handling
- *   }
- *
- *   for (; i < length; i++) {
- *      printf("path is %s, %d\n", select[i], length);
- *      free(select[i]);
- *   }
- *
- *   free(select);
+ *     char **select = NULL;
+ *     int i = 0;
+ *     int length = 0;
+ *     int ret = APP_CONTROL_ERROR_NONE;
+ *
+ *     if (!result)
+ *         // Error handling
+ *
+ *     if (APP_CONTROL_RESULT_SUCCEEDED != result_code)
+ *         // Error handling
+ *
+ *     ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
+ *     if (APP_CONTROL_ERROR_NONE != ret || !select)
+ *         // Error handling
+ *
+ *     for (; i < length; i++) {
+ *         printf("path is %s, %d\n", select[i], length);
+ *         free(select[i]);
+ *     }
+ *
+ *     free(select);
  * }
  *
- * static int app_control(void *data)
+ * static int
+ * app_control(void *data)
  * {
- *   struct appdata *ad = data;
- *   bundle *extra_data = NULL;
- *   int ret = ATTACH_PANEL_ERROR_NONE;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->conformant) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_create(ad->conformant, &ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   extra_data = bundle_create();
- *   if (!extra_data) {
- *      // Error handling
- *   }
- *
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_show(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   bundle_free(extra_data);
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     bundle *extra_data = NULL;
+ *     int ret = ATTACH_PANEL_ERROR_NONE;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->conformant)
+ *         // Error handling
+ *
+ *     ret = attach_panel_create(ad->conformant, &ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     extra_data = bundle_create();
+ *     if (!extra_data)
+ *         // Error handling
+ *
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_show(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     bundle_free(extra_data);
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_create(Evas_Object *conformant, attach_panel_h *attach_panel);
 
+
 /**
  * @brief Destroys the attach panel.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
- *
  * @param[in] attach_panel Attach panel handler
  * @return #ATTACH_PANEL_ERROR_NONE on success,
  *         otherwise a negative error value
  * @retval #ATTACH_PANEL_ERROR_NONE Successful
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @see attach_panel_create()
  * @see attach_panel_add_content_category()
  * @see attach_panel_remove_content_category()
@@ -298,61 +287,55 @@ int attach_panel_create(Evas_Object *conformant, attach_panel_h *attach_panel);
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static int app_terminate(void *data)
+ * static int
+ * app_terminate(void *data)
  * {
- *   struct appdata *ad = data;
- *   int ret = 0;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->attach_panel) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_hide(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_unset_result_cb(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_destroy(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *   ad->attach_panel = NULL;
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     int ret = 0;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->attach_panel)
+ *         // Error handling
+ *
+ *     ret = attach_panel_hide(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_unset_result_cb(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_destroy(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *     ad->attach_panel = NULL;
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_destroy(attach_panel_h attach_panel);
 
+
 /**
  * @brief Adds a content category in the attach panel.
  * @since_tizen 2.4
@@ -366,9 +349,9 @@ int attach_panel_destroy(attach_panel_h attach_panel);
  *          Some contents need time to load it all.\n
  *          So, it is needed to use this before the mainloop of attach_panel_show().\n
  *          Privileges,\n
- *          %http://tizen.org/privilege/mediastorage, for using #ATTACH_PANEL_CONTENT_CATEGORY_IMAGE or #ATTACH_PANEL_CONTENT_CATEGORY_CAMERA\n
- *          %http://tizen.org/privilege/camera, for using #ATTACH_PANEL_CONTENT_CATEGORY_CAMERA or #ATTACH_PANEL_CONTENT_CATEGORY_TAKE_PICTURE\n
- *          %http://tizen.org/privilege/recorder, for using #ATTACH_PANEL_CONTENT_CATEGORY_VOICE\n
+ *          %http://tizen.org/privilege/mediastorage, for using ATTACH_PANEL_CONTENT_CATEGORY_IMAGE or ATTACH_PANEL_CONTENT_CATEGORY_CAMERA\n
+ *          %http://tizen.org/privilege/camera, for using ATTACH_PANEL_CONTENT_CATEGORY_CAMERA or ATTACH_PANEL_CONTENT_CATEGORY_TAKE_PICTURE\n
+ *          %http://tizen.org/privilege/recorder, for using ATTACH_PANEL_CONTENT_CATEGORY_VOICE\n
  *          %http://tizen.org/privilege/appmanager.launch, for adding content categories on the More tab\n
  *          Deliver more information to the callee with a bundle if you need.\n
  *          %http://tizen.org/appcontrol/data/total_count\n
@@ -385,7 +368,6 @@ int attach_panel_destroy(attach_panel_h attach_panel);
  * @retval #ATTACH_PANEL_ERROR_NOT_INITIALIZED not initialized
  * @retval #ATTACH_PANEL_ERROR_UNSUPPORTED_CONTENT_CATEGORY not supported content category
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -411,104 +393,95 @@ int attach_panel_destroy(attach_panel_h attach_panel);
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static void _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result, app_control_result_e result_code, void *data)
+ * static void
+ * _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result,
+ *            app_control_result_e result_code, void *data)
  * {
- *   char **select = NULL;
- *   int i = 0;
- *   int length = 0;
- *   int ret = APP_CONTROL_ERROR_NONE;
- *
- *   if (!result) {
- *     // Error handling
- *   }
- *
- *   if (APP_CONTROL_RESULT_SUCCEEDED != result_code) {
- *     // Error handling
- *   }
- *
- *   ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
- *   if (APP_CONTROL_ERROR_NONE != ret || !select) {
- *     // Error handling
- *   }
- *
- *   for (; i < length; i++) {
- *      printf("path is %s, %d\n", select[i], length);
- *      free(select[i]);
- *   }
- *
- *   free(select);
+ *     char **select = NULL;
+ *     int i = 0;
+ *     int length = 0;
+ *     int ret = APP_CONTROL_ERROR_NONE;
+ *
+ *     if (!result)
+ *         // Error handling
+ *
+ *     if (APP_CONTROL_RESULT_SUCCEEDED != result_code)
+ *         // Error handling
+ *
+ *     ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
+ *     if (APP_CONTROL_ERROR_NONE != ret || !select)
+ *         // Error handling
+ *
+ *     for (; i < length; i++) {
+ *         printf("path is %s, %d\n", select[i], length);
+ *         free(select[i]);
+ *     }
+ *
+ *     free(select);
  * }
  *
- * static int app_control(void *data)
+ * static int
+ * app_control(void *data)
  * {
- *   struct appdata *ad = data;
- *   bundle *extra_data = NULL;
- *   int ret = ATTACH_PANEL_ERROR_NONE;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->conformant) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_create(ad->conformant, &ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   extra_data = bundle_create();
- *   if (!extra_data) {
- *      // Error handling
- *   }
- *
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_show(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   bundle_free(extra_data);
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     bundle *extra_data = NULL;
+ *     int ret = ATTACH_PANEL_ERROR_NONE;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->conformant)
+ *         // Error handling
+ *
+ *     ret = attach_panel_create(ad->conformant, &ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     extra_data = bundle_create();
+ *     if (!extra_data)
+ *         // Error handling
+ *
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_show(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     bundle_free(extra_data);
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_add_content_category(attach_panel_h attach_panel, attach_panel_content_category_e content_category, bundle *extra_data);
 
+
 /**
  * @brief Removes the content category from the attach panel.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
- *
  * @param[in] attach_panel Attach panel handler
  * @param[in] content_category The content_category adding in the @a attach_panel.
  * @return #ATTACH_PANEL_ERROR_NONE on success,
@@ -517,7 +490,6 @@ int attach_panel_add_content_category(attach_panel_h attach_panel, attach_panel_
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_NOT_INITIALIZED not initialized
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -544,61 +516,55 @@ int attach_panel_add_content_category(attach_panel_h attach_panel, attach_panel_
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static int app_terminate(void *data)
+ * static int
+ * app_terminate(void *data)
  * {
- *   struct appdata *ad = data;
- *   int ret = 0;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->attach_panel) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_hide(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_unset_result_cb(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_destroy(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *   ad->attach_panel = NULL;
- *
- *   return 0;
+ *     struct appdata *ad = data;
+ *     int ret = 0;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->attach_panel)
+ *         // Error handling
+ *
+ *     ret = attach_panel_hide(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *
+ *     ret = attach_panel_unset_result_cb(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_destroy(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *     ad->attach_panel = NULL;
+ *
+ *     return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_remove_content_category(attach_panel_h attach_panel, attach_panel_content_category_e content_category);
 
+
 /**
  * @brief Sets extra data to send to the content category using a bundle.
  * @since_tizen 2.4
@@ -607,7 +573,6 @@ int attach_panel_remove_content_category(attach_panel_h attach_panel, attach_pan
  *          extra data will be changed using @a attach_panel_set_extra_data.\n
  *          %http://tizen.org/appcontrol/data/total_count\n
  *          %http://tizen.org/appcontrol/data/total_size
- *
  * @param[in] attach_panel Attach panel handler
  * @param[in] content_category The content_category to be set the some information in the @a attach_panel.
  * @param[in] extra_data The attach panel set some information using @a bundle.
@@ -617,7 +582,6 @@ int attach_panel_remove_content_category(attach_panel_h attach_panel, attach_pan
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
  * @retval #ATTACH_PANEL_ERROR_OUT_OF_MEMORY Fail to set the extra data
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -638,141 +602,128 @@ int attach_panel_remove_content_category(attach_panel_h attach_panel, attach_pan
  * @see ATTACH_PANEL_CONTENT_CATEGORY_MYFILES
  * @see ATTACH_PANEL_CONTENT_CATEGORY_DOCUMENT
  * @see ATTACH_PANEL_CONTENT_CATEGORY_TAKE_PICTURE
- *
  * @par Example
  * @code
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static void _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result, app_control_result_e result_code, void *data)
+ * static void
+ * _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result,
+ *            app_control_result_e result_code, void *data)
  * {
- *   char **select = NULL;
- *   int i = 0;
- *   int length = 0;
- *   int ret = APP_CONTROL_ERROR_NONE;
- *
- *   if (!result) {
- *     // Error handling
- *   }
- *
- *   if (APP_CONTROL_RESULT_SUCCEEDED != result_code) {
- *     // Error handling
- *   }
- *
- *   ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
- *   if (APP_CONTROL_ERROR_NONE != ret || !select) {
- *     // Error handling
- *   }
- *
- *   for (; i < length; i++) {
- *      printf("path is %s, %d\n", select[i], length);
- *      free(select[i]);
- *   }
- *
- *   free(select);
+ *     char **select = NULL;
+ *     int i = 0;
+ *     int length = 0;
+ *     int ret = APP_CONTROL_ERROR_NONE;
+ *
+ *     if (!result)
+ *         // Error handling
+ *
+ *     if (APP_CONTROL_RESULT_SUCCEEDED != result_code)
+ *         // Error handling
+ *
+ *     ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
+ *     if (APP_CONTROL_ERROR_NONE != ret || !select)
+ *         // Error handling
+ *
+ *     for (; i < length; i++) {
+ *         printf("path is %s, %d\n", select[i], length);
+ *         free(select[i]);
+ *     }
+ *
+ *     free(select);
  * }
  *
- * static void _reset_bundle_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
+ * static void
+ * _reset_bundle_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
  * {
- *   struct appdata *ad = data;
- *   bundle *extra_data = NULL;
- *   int ret = APP_CONTROL_ERROR_NONE;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   extra_data = bundle_create();
- *   if (!extra_data) {
- *      // Error handling
- *   }
- *
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "5");
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "20480000");
- *
- *   ret = attach_panel_set_extra_data(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_extra_data(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_extra_data(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   bundle_free(extra_data);
+ *     struct appdata *ad = data;
+ *     bundle *extra_data = NULL;
+ *     int ret = APP_CONTROL_ERROR_NONE;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     extra_data = bundle_create();
+ *     if (!extra_data)
+ *         // Error handling
+ *
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "5");
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "20480000");
+ *
+ *     ret = attach_panel_set_extra_data(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_set_extra_data(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_set_extra_data(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     bundle_free(extra_data);
  * }
  *
- * static int app_control(void *data)
+ * static int
+ * app_control(void *data)
  * {
- *   struct appdata *ad = data;
- *   bundle *extra_data = NULL;
- *   int ret = ATTACH_PANEL_ERROR_NONE;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->conformant) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_create(ad->conformant, &ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   extra_data = bundle_create();
- *   if (!extra_data) {
- *      // Error handling
- *   }
- *
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_show(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   bundle_free(extra_data);
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     bundle *extra_data = NULL;
+ *     int ret = ATTACH_PANEL_ERROR_NONE;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->conformant)
+ *         // Error handling
+ *
+ *     ret = attach_panel_create(ad->conformant, &ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     extra_data = bundle_create();
+ *     if (!extra_data)
+ *         // Error handling
+ *
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_show(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     bundle_free(extra_data);
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_set_extra_data(attach_panel_h attach_panel, attach_panel_content_category_e content_category, bundle *extra_data);
 
+
 /**
  * @brief Sets the result callback that will be called when an user selects and confirms something to attach in the attach panel.
  * @since_tizen 2.4
@@ -780,7 +731,6 @@ int attach_panel_set_extra_data(attach_panel_h attach_panel, attach_panel_conten
  *          We can set only one callback function with this API.\n
  *          If you set multiple callbacks with this API,\n
  *          the last one is registered only.
- *
  * @param[in] attach_panel Attach panel handler
  * @param[in] result_cb Attach panel result callback
  * @param[in] user_data User data
@@ -789,7 +739,6 @@ int attach_panel_set_extra_data(attach_panel_h attach_panel, attach_panel_conten
  * @retval #ATTACH_PANEL_ERROR_NONE Successful
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @post The result_cb set with attach_panel_set_result_cb() will be called after an user select something to attach.
  * @see attach_panel_create()
@@ -808,104 +757,95 @@ int attach_panel_set_extra_data(attach_panel_h attach_panel, attach_panel_conten
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static void _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result, app_control_result_e result_code, void *data)
+ * static void
+ * _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result,
+ *            app_control_result_e result_code, void *data)
  * {
- *   char **select = NULL;
- *   int i = 0;
- *   int length = 0;
- *   int ret = APP_CONTROL_ERROR_NONE;
- *
- *   if (!result) {
- *     // Error handling
- *   }
- *
- *   if (APP_CONTROL_RESULT_SUCCEEDED != result_code) {
- *     // Error handling
- *   }
- *
- *   ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
- *   if (APP_CONTROL_ERROR_NONE != ret || !select) {
- *     // Error handling
- *   }
- *
- *   for (; i < length; i++) {
- *      printf("path is %s, %d\n", select[i], length);
- *      free(select[i]);
- *   }
- *
- *   free(select);
+ *     char **select = NULL;
+ *     int i = 0;
+ *     int length = 0;
+ *     int ret = APP_CONTROL_ERROR_NONE;
+ *
+ *     if (!result)
+ *         // Error handling
+ *
+ *     if (APP_CONTROL_RESULT_SUCCEEDED != result_code)
+ *        // Error handling
+ *
+ *     ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
+ *     if (APP_CONTROL_ERROR_NONE != ret || !select)
+ *         // Error handling
+ *
+ *     for (; i < length; i++) {
+ *         printf("path is %s, %d\n", select[i], length);
+ *         free(select[i]);
+ *     }
+ *
+ *     free(select);
  * }
  *
- * static int app_control(void *data)
+ * static int
+ * app_control(void *data)
  * {
- *   struct appdata *ad = data;
- *   bundle *extra_data = NULL;
- *   int ret = ATTACH_PANEL_ERROR_NONE;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->conformant) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_create(ad->conformant, &ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   extra_data = bundle_create();
- *   if (!extra_data) {
- *      // Error handling
- *   }
- *
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_show(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   bundle_free(extra_data);
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     bundle *extra_data = NULL;
+ *     int ret = ATTACH_PANEL_ERROR_NONE;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->conformant)
+ *         // Error handling
+ *
+ *     ret = attach_panel_create(ad->conformant, &ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     extra_data = bundle_create();
+ *     if (!extra_data)
+ *         // Error handling
+ *
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_show(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     bundle_free(extra_data);
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_set_result_cb(attach_panel_h attach_panel, attach_panel_result_cb result_cb, void *user_data);
 
+
 /**
  * @brief Unsets the result callback that will be called when an user selects and confirms something to attach in the attach panel.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
- *
  * @param[in] attach_panel Attach panel handler
  * @return #ATTACH_PANEL_ERROR_NONE on success,
  *         otherwise a negative error value
@@ -929,61 +869,55 @@ int attach_panel_set_result_cb(attach_panel_h attach_panel, attach_panel_result_
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static int app_terminate(void *data)
+ * static int
+ * app_terminate(void *data)
  * {
- *   struct appdata *ad = data;
- *   int ret = 0;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->attach_panel) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_hide(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_unset_result_cb(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_destroy(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *   ad->attach_panel = NULL;
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     int ret = 0;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->attach_panel)
+ *         // Error handling
+ *
+ *     ret = attach_panel_hide(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_unset_result_cb(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_destroy(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *     ad->attach_panel = NULL;
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_unset_result_cb(attach_panel_h attach_panel);
 
+
 /**
  * @brief Sets the event callback that will be called when reserved events are published from the panel-side.
  * @since_tizen 2.4
@@ -991,7 +925,6 @@ int attach_panel_unset_result_cb(attach_panel_h attach_panel);
  *          We can set only one callback function with this API.\n
  *          If you set multiple callbacks with this API,\n
  *          the last one is registered only.
- *
  * @param[in] attach_panel Attach panel handler
  * @param[in] panel_event_cb Attach panel event callback
  * @param[in] user_data User data
@@ -1016,75 +949,72 @@ int attach_panel_unset_result_cb(attach_panel_h attach_panel);
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static void _event_cb(attach_panel_h attach_panel, attach_panel_event_e event, void *event_info, void *data)
+ * static void
+ * _event_cb(attach_panel_h attach_panel, attach_panel_event_e event, void *event_info, void *data)
  * {
- *   switch (event) {
- *   case ATTACH_PANEL_EVENT_SHOW_START:
- *     // event handling
- *     break;
- *   case ATTACH_PANEL_EVENT_SHOW_FINISH:
- *     // event handling
- *     break;
- *   case ATTACH_PANEL_EVENT_HIDE_START:
- *     // event handling
- *     break;
- *   case ATTACH_PANEL_EVENT_HIDE_FINISH:
- *     // event handling
- *     break;
- *   default:
- *     // error handling
- *     break;
- *   }
+ *     switch (event) {
+ *     case ATTACH_PANEL_EVENT_SHOW_START:
+ *         // Event handling
+ *         break;
+ *     case ATTACH_PANEL_EVENT_SHOW_FINISH:
+ *         // Event handling
+ *         break;
+ *     case ATTACH_PANEL_EVENT_HIDE_START:
+ *         // Event handling
+ *         break;
+ *     case ATTACH_PANEL_EVENT_HIDE_FINISH:
+ *         // Event handling
+ *         break;
+ *     default:
+ *         // Error handling
+ *         break;
+ *     }
  * }
  *
- * static int app_control(void *data)
+ * static int
+ * app_control(void *data)
  * {
- *   struct appdata *ad = data;
- *   int ret = ATTACH_PANEL_ERROR_NONE;
+ *     struct appdata *ad = data;
+ *     int ret = ATTACH_PANEL_ERROR_NONE;
  *
- *   if (!ad) {
- *     // Error handling
- *   }
+ *     if (!ad)
+ *         // Error handling
  *
- *   if (!ad->conformant) {
- *     // Error handling
- *   }
+ *     if (!ad->conformant)
+ *         // Error handling
  *
- *   ret = attach_panel_create(ad->conformant, &ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
+ *     ret = attach_panel_create(ad->conformant, &ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
  *
- *   ret = attach_panel_set_event_cb(ad->attach_panel, _event_cb, ad);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
+ *     ret = attach_panel_set_event_cb(ad->attach_panel, _event_cb, ad);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
  *
- *   // other routines
+ *     // Other routines
  *
- *      return 0;
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_set_event_cb(attach_panel_h attach_panel, attach_panel_event_cb panel_event_cb, void *user_data);
 
+
 /**
  * @brief Unsets the event callback
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.
- *
  * @param[in] attach_panel Attach panel handler
  * @return #ATTACH_PANEL_ERROR_NONE on success,
  *         otherwise a negative error value
  * @retval #ATTACH_PANEL_ERROR_NONE Successful
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -1098,53 +1028,49 @@ int attach_panel_set_event_cb(attach_panel_h attach_panel, attach_panel_event_cb
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static int app_terminate(void *data)
+ * static int
+ * app_terminate(void *data)
  * {
- *   struct appdata *ad = data;
- *   int ret = 0;
+ *     struct appdata *ad = data;
+ *     int ret = 0;
  *
- *   if (!ad) {
- *     // Error handling
- *   }
+ *     if (!ad)
+ *         // Error handling
  *
- *   if (!ad->attach_panel) {
- *     // Error handling
- *   }
+ *     if (!ad->attach_panel)
+ *         // Error handling
  *
- *   ret = attach_panel_unset_event_cb(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
+ *     ret = attach_panel_unset_event_cb(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
  *
- *   ret = attach_panel_destroy(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *   ad->attach_panel = NULL;
+ *     ret = attach_panel_destroy(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *     ad->attach_panel = NULL;
  *
- *      return 0;
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_unset_event_cb(attach_panel_h attach_panel);
 
+
 /**
  * @brief Shows the attach panel, asynchronously.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
- *
  * @param[in] attach_panel Attach panel handler
  * @return #ATTACH_PANEL_ERROR_NONE on success,
  *         otherwise a negative error value
  * @retval #ATTACH_PANEL_ERROR_NONE Successful
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -1161,111 +1087,101 @@ int attach_panel_unset_event_cb(attach_panel_h attach_panel);
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static void _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result, app_control_result_e result_code, void *data)
+ * static void
+ * _result_cb(attach_panel_h attach_panel, attach_panel_content_category_e content_category, app_control_h result,
+ *            app_control_result_e result_code, void *data)
  * {
- *   char **select = NULL;
- *   int i = 0;
- *   int length = 0;
- *   int ret = APP_CONTROL_ERROR_NONE;
- *
- *   if (!result) {
- *     // Error handling
- *   }
- *
- *   if (APP_CONTROL_RESULT_SUCCEEDED != result_code) {
- *     // Error handling
- *   }
- *
- *   ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
- *   if (APP_CONTROL_ERROR_NONE != ret || !select) {
- *     // Error handling
- *   }
- *
- *   for (; i < length; i++) {
- *      printf("path is %s, %d\n", select[i], length);
- *      free(select[i]);
- *   }
- *
- *   free(select);
+ *     char **select = NULL;
+ *     int i = 0;
+ *     int length = 0;
+ *     int ret = APP_CONTROL_ERROR_NONE;
+ *
+ *     if (!result)
+ *         // Error handling
+ *
+ *     if (APP_CONTROL_RESULT_SUCCEEDED != result_code)
+ *         // Error handling
+ *
+ *     ret = app_control_get_extra_data_array(result, "http://tizen.org/appcontrol/data/selected", &select, &length);
+ *     if (APP_CONTROL_ERROR_NONE != ret || !select)
+ *         // Error handling
+ *
+ *     for (; i < length; i++) {
+ *         printf("path is %s, %d\n", select[i], length);
+ *         free(select[i]);
+ *     }
+ *
+ *     free(select);
  * }
  *
- * static int app_control(void *data)
+ * static int
+ * app_control(void *data)
  * {
- *   struct appdata *ad = data;
- *   bundle *extra_data = NULL;
- *   int ret = ATTACH_PANEL_ERROR_NONE;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->conformant) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_create(ad->conformant, &ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   extra_data = bundle_create();
- *   if (!extra_data) {
- *      // Error handling
- *   }
- *
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
- *   bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_show(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   bundle_free(extra_data);
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     bundle *extra_data = NULL;
+ *     int ret = ATTACH_PANEL_ERROR_NONE;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->conformant)
+ *         // Error handling
+ *
+ *     ret = attach_panel_create(ad->conformant, &ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     extra_data = bundle_create();
+ *     if (!extra_data)
+ *         // Error handling
+ *
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_count", "3");
+ *     bundle_add_str(extra_data, "http://tizen.org/appcontrol/data/total_size", "10240000");
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_add_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE, extra_data);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *
+ *     ret = attach_panel_set_result_cb(ad->attach_panel, _result_cb, NULL);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_show(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     bundle_free(extra_data);
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_show(attach_panel_h attach_panel);
 
+
 /**
  * @brief Hides the attach panel, asynchronously.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
- *
  * @param[in] attach_panel Attach panel handler
  * @return #ATTACH_PANEL_ERROR_NONE on success,
  *         otherwise a negative error value
  * @retval #ATTACH_PANEL_ERROR_NONE Successful
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -1282,66 +1198,58 @@ int attach_panel_show(attach_panel_h attach_panel);
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
  * static int app_terminate(void *data)
  * {
- *   struct appdata *ad = data;
- *   int ret = 0;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->attach_panel) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_hide(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_unset_result_cb(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_destroy(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *   ad->attach_panel = NULL;
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     int ret = 0;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->attach_panel)
+ *         // Error handling
+ *
+ *     ret = attach_panel_hide(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_unset_result_cb(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_destroy(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *     ad->attach_panel = NULL;
+ *
+ *        return 0;
  * }
  *
  * @endcode
  */
 int attach_panel_hide(attach_panel_h attach_panel);
 
+
 /**
  * @brief Gets a value that indicates whether the attach_panel is visible.
  * @since_tizen 2.4
  * @remarks The caller app has to check the return value of this function.\n
- *
  * @param[in] attach_panel Attach panel handler
  * @param[out] visible value of attach_panel state
  * @return #ATTACH_PANEL_ERROR_NONE on success,
@@ -1349,7 +1257,6 @@ int attach_panel_hide(attach_panel_h attach_panel);
  * @retval #ATTACH_PANEL_ERROR_NONE Successful
  * @retval #ATTACH_PANEL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #ATTACH_PANEL_ERROR_ALREADY_DESTROYED already removed
- *
  * @pre Call attach_panel_create() before calling this function.
  * @see attach_panel_create()
  * @see attach_panel_destroy()
@@ -1366,63 +1273,55 @@ int attach_panel_hide(attach_panel_h attach_panel);
  * #include <attach_panel.h>
  *
  * struct appdata {
- *   Evas_Object *attach_panel;
- *   Evas_Object *conformant;
+ *     Evas_Object *attach_panel;
+ *     Evas_Object *conformant;
  * };
  *
- * static int app_terminate(void *data)
+ * static int
+ * app_terminate(void *data)
  * {
- *   struct appdata *ad = data;
- *   bool visible = false;
- *   int ret = 0;
- *
- *   if (!ad) {
- *     // Error handling
- *   }
- *
- *   if (!ad->attach_panel) {
- *     // Error handling
- *   }
- *
- *   ret = attach_panel_get_visibility(ad->attach_panel, &visible);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   if (visible) {
- *      ret = attach_panel_hide(ad->attach_panel);
- *      if (ATTACH_PANEL_ERROR_NONE != ret) {
- *         // Error handling
- *      }
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_unset_result_cb(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *
- *   ret = attach_panel_destroy(ad->attach_panel);
- *   if (ATTACH_PANEL_ERROR_NONE != ret) {
- *      // Error handling
- *   }
- *   ad->attach_panel = NULL;
- *
- *      return 0;
+ *     struct appdata *ad = data;
+ *     bool visible = false;
+ *     int ret = 0;
+ *
+ *     if (!ad)
+ *         // Error handling
+ *
+ *     if (!ad->attach_panel)
+ *         // Error handling
+ *
+ *     ret = attach_panel_get_visibility(ad->attach_panel, &visible);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     if (visible) {
+ *         ret = attach_panel_hide(ad->attach_panel);
+ *         if (ATTACH_PANEL_ERROR_NONE != ret)
+ *             // Error handling
+ *     }
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_IMAGE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_CAMERA);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_remove_content_category(ad->attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_VOICE);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_unset_result_cb(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *         // Error handling
+ *
+ *     ret = attach_panel_destroy(ad->attach_panel);
+ *     if (ATTACH_PANEL_ERROR_NONE != ret)
+ *        // Error handling
+ *     ad->attach_panel = NULL;
+ *
+ * return 0;
  * }
  *
  * @endcode