From: Hwankyu Jhun Date: Tue, 2 Feb 2016 02:29:57 +0000 (+0900) Subject: Adjust coding rule X-Git-Tag: submit/tizen/20160202.024018^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0;p=platform%2Fcore%2Fapi%2Fmedia-key.git Adjust coding rule Change-Id: I1b74e74eb3e99fbaeddd52a1555e4716c90fdb20 Signed-off-by: Hwankyu Jhun --- diff --git a/include/media_key.h b/include/media_key.h index 3d81032..de0d726 100644 --- a/include/media_key.h +++ b/include/media_key.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2011 - 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. @@ -20,8 +20,7 @@ #include #ifdef __cplusplus -extern "C" -{ +extern "C" { #endif /** @@ -39,8 +38,7 @@ extern "C" * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ -typedef enum -{ +typedef enum { MEDIA_KEY_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ MEDIA_KEY_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ MEDIA_KEY_ERROR_OPERATION_FAILED = TIZEN_ERROR_MEDIA_KEY | 0x01, /**< Reserve/Release failed */ @@ -51,8 +49,7 @@ typedef enum * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ -typedef enum -{ +typedef enum { MEDIA_KEY_PLAY, /**< Play key */ MEDIA_KEY_STOP, /**< Stop key */ MEDIA_KEY_PAUSE, /**< Pause key */ @@ -70,8 +67,7 @@ typedef enum * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ -typedef enum -{ +typedef enum { MEDIA_KEY_STATUS_PRESSED, /**< Pressed status */ MEDIA_KEY_STATUS_RELEASED, /**< Released status */ MEDIA_KEY_STATUS_UNKNOWN, /**< Unknown status */ @@ -130,4 +126,3 @@ int media_key_release(void); #endif #endif /* __TIZEN_SYSTEM_MEDIA_KEY_H__ */ - diff --git a/src/media_key.c b/src/media_key.c index 1a58752..62546e4 100644 --- a/src/media_key.c +++ b/src/media_key.c @@ -1,6 +1,5 @@ /* - * media-key - * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2011 - 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License.