From: Junkyeong Kim Date: Wed, 30 Mar 2016 00:12:15 +0000 (+0900) Subject: adapt tizen coding rule X-Git-Tag: accepted/tizen/common/20160405.132851^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c15e02fb7e6a41fc66a8dd00dff06f583394122;p=platform%2Fcore%2Fuifw%2Flibeom.git adapt tizen coding rule Change-Id: I53d275d871a6e21861e9c71bd8957a8bdc68a4d6 Signed-off-by: Junkyeong Kim --- diff --git a/doc/ui_eom_doc.h b/doc/ui_eom_doc.h index 422f7f1..478790a 100644 --- a/doc/ui_eom_doc.h +++ b/doc/ui_eom_doc.h @@ -1,59 +1,60 @@ -#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 -Boram Park -Changyeon Lee -JunKyeong Kim - -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 - * - * @section CAPI_UI_EOM_MODULE_OVERVIEW Overview - * The External Output Manager (EOM) is for managing external outputs.\n - * User can get the information of external outputs and control them via - * eom API.\n\n - * - * Features :\n - * - Get information.(output ID, type, resolution, physical size etc)\n - * - Receive state changing informagtion by callback function. (add, remove, mode change, attribute change)\n - * - Use external output device.(set attribute, set external window)\n - */ - * - */ - -#endif /* __UI_EOM_DOC_H__ */ +#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 +Boram Park +Changyeon Lee +JunKyeong Kim + +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 + * + * @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__ */ + diff --git a/src/eom-log.h b/src/eom-log.h index bff7c2c..262475f 100644 --- a/src/eom-log.h +++ b/src/eom-log.h @@ -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; } }