diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-03-28 08:59:58 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-03-31 09:57:39 +0900 |
commit | 5584ff7c0b489998ec4a0dec5ec51a16fc2d2dfa (patch) | |
tree | 7fbeaea6b2618c50ea21c3a3f7de6c2c9177f7aa /include | |
parent | 5ca36e515649f6f9a30ea104d5ccd7e96302dcaf (diff) | |
download | minicontrol-5584ff7c0b489998ec4a0dec5ec51a16fc2d2dfa.tar.gz minicontrol-5584ff7c0b489998ec4a0dec5ec51a16fc2d2dfa.tar.bz2 minicontrol-5584ff7c0b489998ec4a0dec5ec51a16fc2d2dfa.zip |
Adjust coding rulessubmit/tizen/20160408.020915accepted/tizen/wearable/20160408.052604accepted/tizen/tv/20160408.052551accepted/tizen/mobile/20160408.052634accepted/tizen/ivi/20160408.052614accepted/tizen/common/20160408.184939
Change-Id: I07d20c3ffc1f03c151fa1176fc664f11a6c80fdc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/minicontrol-error.h | 2 | ||||
-rwxr-xr-x | include/minicontrol-internal.h | 4 | ||||
-rwxr-xr-x | include/minicontrol-log.h | 50 | ||||
-rwxr-xr-x | include/minicontrol-monitor.h | 2 | ||||
-rw-r--r-- | include/minicontrol-provider-internal.h | 2 | ||||
-rwxr-xr-x | include/minicontrol-provider.h | 4 | ||||
-rwxr-xr-x | include/minicontrol-type.h | 2 | ||||
-rw-r--r-- | include/minicontrol-viewer-internal.h | 15 | ||||
-rwxr-xr-x | include/minicontrol-viewer.h | 2 | ||||
-rwxr-xr-x | include/minicontrol.h | 2 |
10 files changed, 47 insertions, 38 deletions
diff --git a/include/minicontrol-error.h b/include/minicontrol-error.h index ffa7d4c..43a7022 100755 --- a/include/minicontrol-error.h +++ b/include/minicontrol-error.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. diff --git a/include/minicontrol-internal.h b/include/minicontrol-internal.h index da75883..a958958 100755 --- a/include/minicontrol-internal.h +++ b/include/minicontrol-internal.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. @@ -88,7 +88,7 @@ int _minictrl_provider_message_send(int event, const char *minicontrol_name, uns int _minictrl_viewer_req_message_send(void); minictrl_sig_handle *_minictrl_dbus_sig_handle_attach(const char *signal, - void (*callback) (void *data, DBusMessage *msg), + void (*callback)(void *data, DBusMessage *msg), void *data); void _minictrl_dbus_sig_handle_dettach(minictrl_sig_handle *handle); diff --git a/include/minicontrol-log.h b/include/minicontrol-log.h index b11cf88..1fabb1f 100755 --- a/include/minicontrol-log.h +++ b/include/minicontrol-log.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. @@ -29,45 +29,45 @@ #define LOG_TAG "MINICONTROL" #define DBG(fmt , args...) \ - do{ \ - SECURE_LOGD("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \ - } while(0) + do { \ + SECURE_LOGD("[%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #define INFO(fmt , args...) \ - do{ \ - SECURE_LOGI("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \ - } while(0) + do { \ + SECURE_LOGI("[%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #define WARN(fmt , args...) \ - do{ \ - SECURE_LOGW("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \ - } while(0) + do { \ + SECURE_LOGW("[%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #define ERR(fmt , args...) \ - do{ \ - SECURE_LOGE("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \ - } while(0) + do { \ + SECURE_LOGE("[%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #else /* MINICTRL_USE_DLOG */ #define DBG(fmt , args...) \ - do{ \ - printf("[D][%s : %d] "fmt"\n", __func__,__LINE__,##args ); \ - } while(0) + do { \ + printf("[D][%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #define INFO(fmt , args...) \ - do{ \ - printf("[I][%s : %d] "fmt"\n", __func__,__LINE__,##args ); \ - } while(0) + do { \ + printf("[I][%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #define WARN(fmt , args...) \ - do{ \ - printf("[W][%s : %d] "fmt"\n", __func__,__LINE__,##args ); \ - } while(0) + do { \ + printf("[W][%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #define ERR(fmt , args...) \ - do{ \ - printf("[E][%s : %d] "fmt"\n", __func__,__LINE__,##args ); \ - } while(0) + do { \ + printf("[E][%s : %d] "fmt"\n", __func__, __LINE__, ##args); \ + } while (0) #endif /* MINICTRL_USE_DLOG */ diff --git a/include/minicontrol-monitor.h b/include/minicontrol-monitor.h index 404dd9e..7283b47 100755 --- a/include/minicontrol-monitor.h +++ b/include/minicontrol-monitor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. diff --git a/include/minicontrol-provider-internal.h b/include/minicontrol-provider-internal.h index 952db84..6330324 100644 --- a/include/minicontrol-provider-internal.h +++ b/include/minicontrol-provider-internal.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. diff --git a/include/minicontrol-provider.h b/include/minicontrol-provider.h index b02dc59..6f43f5e 100755 --- a/include/minicontrol-provider.h +++ b/include/minicontrol-provider.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. @@ -62,7 +62,7 @@ typedef void (*minicontrol_event_cb) (minicontrol_viewer_event_e event_type, bun * @see #minicontrol_target_viewer_e * @see #minicontrol_event_cb */ -Evas_Object* minicontrol_create_window(const char *name, minicontrol_target_viewer_e target_viewer, minicontrol_event_cb callback); +Evas_Object *minicontrol_create_window(const char *name, minicontrol_target_viewer_e target_viewer, minicontrol_event_cb callback); /** * @brief Sends a event to the viewer. diff --git a/include/minicontrol-type.h b/include/minicontrol-type.h index 8a9de09..154fb6d 100755 --- a/include/minicontrol-type.h +++ b/include/minicontrol-type.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. diff --git a/include/minicontrol-viewer-internal.h b/include/minicontrol-viewer-internal.h index 2d93f7e..b02698d 100644 --- a/include/minicontrol-viewer-internal.h +++ b/include/minicontrol-viewer-internal.h @@ -1,8 +1,17 @@ /* - * minicontrol-viewer-internal.h + * Copyright (c) 2015 - 2016 Samsung Electronics Co., Ltd All Rights Reserved * - * Created on: 2015. 4. 13. - * Author: kyuho.jo + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #ifndef _MINICONTROL_VIEWER_INTERNAL_H_ diff --git a/include/minicontrol-viewer.h b/include/minicontrol-viewer.h index 67e87a3..66b72ba 100755 --- a/include/minicontrol-viewer.h +++ b/include/minicontrol-viewer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. diff --git a/include/minicontrol.h b/include/minicontrol.h index c626c20..e38488a 100755 --- a/include/minicontrol.h +++ b/include/minicontrol.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 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. |