summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2016-03-28 13:53:36 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2016-03-31 08:37:45 +0900
commit8f6ede950086973cbee0186e3246c540b7bb7d8e (patch)
tree330ad5a32dde94c887b108b29a55f039c0f9e533 /include
parent1a6d556799df4263cf1f230ba886a2b5d760bf27 (diff)
downloadapplication-8f6ede950086973cbee0186e3246c540b7bb7d8e.tar.gz
application-8f6ede950086973cbee0186e3246c540b7bb7d8e.tar.bz2
application-8f6ede950086973cbee0186e3246c540b7bb7d8e.zip
Adjust coding rules
Change-Id: If4c986183703015e54c53abd4be25a83a3589109 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/app.h3
-rw-r--r--include/app_alarm.h4
-rw-r--r--include/app_common.h7
-rw-r--r--include/app_control.h5
-rw-r--r--include/app_control_internal.h3
-rw-r--r--include/app_event.h5
-rwxr-xr-xinclude/app_extension.h3
-rw-r--r--include/app_i18n.h5
-rw-r--r--include/app_internal.h5
-rw-r--r--include/app_preference.h3
-rw-r--r--include/app_preference_internal.h5
-rw-r--r--include/app_preference_log.h3
-rw-r--r--include/app_resource_manager.h4
-rw-r--r--include/app_types.h3
14 files changed, 35 insertions, 23 deletions
diff --git a/include/app.h b/include/app.h
index be26f5c..f9304b4 100644
--- a/include/app.h
+++ b/include/app.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.
@@ -232,3 +232,4 @@ int ui_app_remove_event_handler(app_event_handler_h event_handler);
}
#endif
#endif /* __TIZEN_APPFW_APP_H__ */
+
diff --git a/include/app_alarm.h b/include/app_alarm.h
index c8e736d..c29862a 100644
--- a/include/app_alarm.h
+++ b/include/app_alarm.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.
@@ -250,7 +250,7 @@ int alarm_schedule_once_at_date(app_control_h app_control, struct tm *date, int
* @see alarm_get_scheduled_date()
* @see #alarm_week_flag_e
*/
-int alarm_schedule_with_recurrence_week_flag(app_control_h app_control, struct tm *date, int week_flag,int *alarm_id);
+int alarm_schedule_with_recurrence_week_flag(app_control_h app_control, struct tm *date, int week_flag, int *alarm_id);
/**
diff --git a/include/app_common.h b/include/app_common.h
index c990e82..0041666 100644
--- a/include/app_common.h
+++ b/include/app_common.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014 - 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.
@@ -96,7 +96,7 @@ typedef enum {
* @see app_remove_event_handler
* @see app_event_info_h
*/
-typedef struct app_event_handler* app_event_handler_h;
+typedef struct app_event_handler *app_event_handler_h;
/**
@@ -110,7 +110,7 @@ typedef struct app_event_handler* app_event_handler_h;
* @see app_event_get_device_orientation
* @see app_event_get_suspended_state
*/
-typedef struct app_event_info* app_event_info_h;
+typedef struct app_event_info *app_event_info_h;
/**
@@ -475,3 +475,4 @@ char *app_get_tep_resource_path(void);
#endif
#endif /* __TIZEN_APPFW_APP_H__ */
+
diff --git a/include/app_control.h b/include/app_control.h
index 84d955e..b8d65bc 100644
--- a/include/app_control.h
+++ b/include/app_control.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014 - 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.
@@ -41,7 +41,7 @@ typedef unsigned char bundle_raw;
* @brief App Control handle.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
-typedef struct app_control_s* app_control_h;
+typedef struct app_control_s *app_control_h;
/**
@@ -1126,3 +1126,4 @@ int app_control_unset_defapp(const char *app_id);
#endif
#endif /* __TIZEN_APPFW_APP_CONTROL_H__ */
+
diff --git a/include/app_control_internal.h b/include/app_control_internal.h
index 54502c2..ec620fa 100644
--- a/include/app_control_internal.h
+++ b/include/app_control_internal.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014 - 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.
@@ -162,3 +162,4 @@ int app_control_request_transient_app(app_control_h app_control, unsigned int ca
#endif
#endif /* __TIZEN_APPFW_APP_CONTROL_INTERNAL_H__ */
+
diff --git a/include/app_event.h b/include/app_event.h
index a4a45cb..722ae9d 100644
--- a/include/app_event.h
+++ b/include/app_event.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -38,7 +38,7 @@ extern "C" {
* @brief Event handle.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
-typedef struct event_handler* event_handler_h;
+typedef struct event_handler *event_handler_h;
/**
* @brief Event callback.
@@ -898,3 +898,4 @@ int event_publish_trusted_app_event(const char *event_name, bundle *event_data);
#endif
#endif /* __TIZEN_APPFW_EVENT_H__ */
+
diff --git a/include/app_extension.h b/include/app_extension.h
index 05cb2ee..a66852f 100755
--- a/include/app_extension.h
+++ b/include/app_extension.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.
@@ -62,3 +62,4 @@ void *app_get_preinitialized_conformant(void);
#endif
#endif /* __TIZEN_APPFW_APP_EXTENSION_H__ */
+
diff --git a/include/app_i18n.h b/include/app_i18n.h
index 69e0ce7..4dfbf7e 100644
--- a/include/app_i18n.h
+++ b/include/app_i18n.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.
@@ -54,7 +54,7 @@ extern "C"
* @return The localized translation for the given @a message on success,
* otherwise the given @a message
*/
-char* i18n_get_text(const char *message);
+char *i18n_get_text(const char *message);
/**
* @}
@@ -65,3 +65,4 @@ char* i18n_get_text(const char *message);
#endif
#endif /* __TIZEN_APPFW_I18N_H__ */
+
diff --git a/include/app_internal.h b/include/app_internal.h
index 8380602..66f0520 100644
--- a/include/app_internal.h
+++ b/include/app_internal.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.
@@ -57,7 +57,7 @@ app_device_orientation_e app_convert_appcore_rm(enum appcore_rm rm);
typedef void (*app_finalizer_cb) (void *data);
-int app_error(app_error_e error, const char* function, const char *description);
+int app_error(app_error_e error, const char *function, const char *description);
app_device_orientation_e app_convert_appcore_rm(enum appcore_rm rm);
@@ -262,3 +262,4 @@ void app_efl_exit(void);
#endif
#endif /* __TIZEN_APPFW_APP_INTERNAL_H__ */
+
diff --git a/include/app_preference.h b/include/app_preference.h
index 01e0136..fb37afd 100644
--- a/include/app_preference.h
+++ b/include/app_preference.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.
@@ -324,3 +324,4 @@ int preference_foreach_item(preference_item_cb callback, void *user_data);
#endif
#endif /* __TIZEN_APPFW_PREFERENCE_H__ */
+
diff --git a/include/app_preference_internal.h b/include/app_preference_internal.h
index 12706ed..8cafdcb 100644
--- a/include/app_preference_internal.h
+++ b/include/app_preference_internal.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.
@@ -29,7 +29,7 @@ extern "C" {
#define PREF_DIR ".pref/"
#define PREFERENCE_KEY_PATH_LEN 1024
-#define ERR_LEN 128
+#define ERR_LEN 1024
#define PREF_DB_NAME ".pref.db"
#define PREF_TBL_NAME "pref"
@@ -149,3 +149,4 @@ inline void _preference_keynode_free(keynode_t *keynode);
#endif
#endif /* __TIZEN_APPFW_PREFERENCE_INTERNAL_H__ */
+
diff --git a/include/app_preference_log.h b/include/app_preference_log.h
index 8bd87a7..5aa8144 100644
--- a/include/app_preference_log.h
+++ b/include/app_preference_log.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -90,3 +90,4 @@
#endif /* __PREFERENCE_LOG_H__ */
+
diff --git a/include/app_resource_manager.h b/include/app_resource_manager.h
index 8e16321..d282459 100644
--- a/include/app_resource_manager.h
+++ b/include/app_resource_manager.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.
@@ -97,7 +97,7 @@ int app_resource_manager_get(app_resource_e type, const char *id, char **path);
*
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @remarks Please make sure that the instance of resource manager should be released when the application is closing only.
- * It is highly recommended way to improve run-time performance.
+ * It is highly recommended way to improve run-time performance.
* @return @c 0 on success,
* otherwise a negative error value
* @retval #APP_RESOURCE_ERROR_NONE Successful
diff --git a/include/app_types.h b/include/app_types.h
index 0ca8575..391aa8a 100644
--- a/include/app_types.h
+++ b/include/app_types.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.
@@ -50,3 +50,4 @@ typedef enum {
*/
#endif /* __TIZEN_APPFW_APP_TYPES_H__ */
+