diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-02-02 11:29:57 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-02-02 11:29:57 +0900 |
commit | cf9f6148a4e16338e93fee5390552865316ffc12 (patch) | |
tree | b280f6a502834abcfc00568cba8283ef91ac89ad | |
parent | 5bc932a87c64d0395ae71114b2a513f16315b443 (diff) | |
download | media-key-cf9f6148a4e16338e93fee5390552865316ffc12.tar.gz media-key-cf9f6148a4e16338e93fee5390552865316ffc12.tar.bz2 media-key-cf9f6148a4e16338e93fee5390552865316ffc12.zip |
Adjust coding rulesubmit/tizen_unified/20170308.100404submit/tizen_ivi/20160217.000001submit/tizen_ivi/20160217.000000submit/tizen_common/20170111.150147submit/tizen_common/20160218.142243submit/tizen_3.0_wearable/20161015.000001submit/tizen_3.0_tv/20161015.000001submit/tizen_3.0_mobile/20161015.000001submit/tizen_3.0_ivi/20161010.000005submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093749submit/tizen/20160202.024018accepted/tizen/wearable/20160202.114759accepted/tizen/unified/20170309.031755accepted/tizen/tv/20160202.114755accepted/tizen/mobile/20160202.114744accepted/tizen/ivi/20160218.023012accepted/tizen/common/20170111.155034accepted/tizen/3.0/wearable/20161015.082039accepted/tizen/3.0/tv/20161016.004222accepted/tizen/3.0/mobile/20161015.032859accepted/tizen/3.0/ivi/20161011.055426accepted/tizen/3.0/common/20161114.105229accepted/tizen/3.0.m2/wearable/20170104.122948accepted/tizen/3.0.m2/tv/20170104.122627accepted/tizen/3.0.m2/mobile/20170104.122243tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
Change-Id: I1b74e74eb3e99fbaeddd52a1555e4716c90fdb20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | include/media_key.h | 15 | ||||
-rw-r--r-- | src/media_key.c | 3 |
2 files changed, 6 insertions, 12 deletions
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 <tizen.h> #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. |