adapt tizen coding rule 70/64070/2 accepted/tizen/common/20160405.132851 accepted/tizen/ivi/20160406.012620 accepted/tizen/mobile/20160406.012528 accepted/tizen/tv/20160406.012545 accepted/tizen/wearable/20160406.012601 submit/tizen/20160405.050825
authorJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 30 Mar 2016 00:12:15 +0000 (09:12 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 5 Apr 2016 00:27:00 +0000 (17:27 -0700)
Change-Id: I53d275d871a6e21861e9c71bd8957a8bdc68a4d6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
doc/ui_eom_doc.h
src/eom-log.h

index 422f7f1..478790a 100644 (file)
@@ -1,59 +1,60 @@
-#ifndef __UI_EOM_DOC_H__\r
-#define __UI_EOM_DOC_H__\r
-\r
-/**************************************************************************\r
-\r
-External Output Manager (EOM)\r
-\r
-Copyright 2014 Samsung Electronics co., Ltd. All Rights Reserved.\r
-\r
-Contact:\r
-SooChan Lim <sc1.lim@samsung.com>\r
-Boram Park <boram1288.park@samsung.com>\r
-Changyeon Lee <cyeon.lee@samsung.com>\r
-JunKyeong Kim <jk0430.kim@samsung.com>\r
-\r
-Permission is hereby granted, free of charge, to any person obtaining a\r
-copy of this software and associated documentation files (the\r
-"Software"), to deal in the Software without restriction, including\r
-without limitation the rights to use, copy, modify, merge, publish,\r
-distribute, sub license, and/or sell copies of the Software, and to\r
-permit persons to whom the Software is furnished to do so, subject to\r
-the following conditions:\r
-\r
-The above copyright notice and this permission notice (including the\r
-next paragraph) shall be included in all copies or substantial portions\r
-of the Software.\r
-\r
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\r
-IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR\r
-ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
-\r
-**************************************************************************/\r
-\r
-/**\r
- * @ingroup CAPI_UI_FRAMEWORK\r
- * @defgroup CAPI_UI_EOM_MODULE External Output Manager\r
- * @brief The External Output Manager provides APIs for external outputs.\r
- *\r
- * @section CAPI_UI_EOM_MODULE_HEADER Required Header\r
- *   #include <eom.h>\r
- *\r
- * @section CAPI_UI_EOM_MODULE_OVERVIEW Overview\r
- * The External Output Manager (EOM) is for managing external outputs.\n\r
- * User can get the information of external outputs and control them via\r
- * eom API.\n\n\r
- *\r
- * Features :\n\r
- *  - Get information.(output ID, type, resolution, physical size etc)\n\r
- *  - Receive state changing informagtion by callback function. (add, remove, mode change, attribute change)\n\r
- *  - Use external output device.(set attribute, set external window)\n\r
- */\r
- *\r
- */\r
-\r
-#endif /* __UI_EOM_DOC_H__ */\r
+#ifndef __UI_EOM_DOC_H__
+#define __UI_EOM_DOC_H__
+
+/**************************************************************************
+
+External Output Manager (EOM)
+
+Copyright 2014 Samsung Electronics co., Ltd. All Rights Reserved.
+
+Contact:
+SooChan Lim <sc1.lim@samsung.com>
+Boram Park <boram1288.park@samsung.com>
+Changyeon Lee <cyeon.lee@samsung.com>
+JunKyeong Kim <jk0430.kim@samsung.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sub license, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice (including the
+next paragraph) shall be included in all copies or substantial portions
+of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
+ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+**************************************************************************/
+
+
+/**
+  * @ingroup CAPI_UI_FRAMEWORK
+  * @defgroup CAPI_UI_EOM_MODULE External Output Manager
+  * @brief The External Output Manager provides APIs for external outputs.
+  *
+  * @section CAPI_UI_EOM_MODULE_HEADER Required Header
+  *  #include <eom.h>
+  *
+  * @section CAPI_UI_EOM_MODULE_OVERVIEW Overview
+  * The External Output Manager (EOM) is for managing external outputs.
+  * User can get the information of external outputs and control them via
+  * eom API.
+  *
+  * Features :
+  * - Get information.(output ID, type, resolution, physical size etc)
+  * - Receive state changing informagtion by callback function. (add, remove, mode change, attribute change)
+  * - - Use external output device.(set attribute, set external window)
+  *
+  **/
+
+#endif /* __UI_EOM_DOC_H__ */
+
index bff7c2c..262475f 100644 (file)
@@ -85,7 +85,7 @@ static inline void set_last_result(int i) {; }
                        __func__, __LINE__, ##arg)
 #endif  /* HAVE_DLOG */
 
-#define WARN_IF_FAIL(cond)                             {if (!(cond)) { ERR("'%s' failed", #cond); } }
+#define WARN_IF_FAIL(cond)                             if (!(cond)) ERR("'%s' failed", #cond);
 #define RET_IF_FAIL(cond)                              {if (!(cond)) { ERR("'%s' failed", #cond); return; } }
 #define RETV_IF_FAIL(cond, val)                        {if (!(cond)) { ERR("'%s' failed", #cond); return val; } }
 #define RETV_IF_ERRNO(cond, val, errno)        {if (!(cond)) { ERRNO("'%s' failed", #cond); return val; } }