Apply coding rule phase2 56/64456/1
authorJeesun Kim <iamjs.kim@samsung.com>
Fri, 1 Apr 2016 08:38:45 +0000 (17:38 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Fri, 1 Apr 2016 08:39:04 +0000 (17:39 +0900)
Change-Id: Ie3ce5bf9793e1fe7ad02597a4055629ccb941f43

common/cal_typedef.h
include/calendar_record.h
include/calendar_types.h

index e245bff..cc10a23 100644 (file)
@@ -428,7 +428,7 @@ typedef enum {
        CAL_NOTI_TYPE_CALENDAR,
 } cal_noti_type_e;
 
-typedef struct{
+typedef struct {
        unsigned int property_id;
        const char* fields; /* DB field */
 } cal_property_info_s;
index 3e733f3..adf07cb 100644 (file)
@@ -245,7 +245,7 @@ int calendar_record_get_caltime(calendar_record_h record, unsigned int property_
  *              otherwise a negative error value
  * @retval      #CALENDAR_ERROR_NONE                  Successful
  * @retval      #CALENDAR_ERROR_INVALID_PARAMETER     Invalid parameter
- * @retval     #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
+ * @retval      #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
  *
  * @see calendar_record_get_str()
  * @see calendar_record_get_str_p()
@@ -265,7 +265,7 @@ int calendar_record_set_str(calendar_record_h record, unsigned int property_id,
  *              otherwise a negative error value
  * @retval      #CALENDAR_ERROR_NONE                  Successful
  * @retval      #CALENDAR_ERROR_INVALID_PARAMETER     Invalid parameter
- * @retval     #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
+ * @retval      #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
  *
  * @see calendar_record_get_int()
  */
@@ -284,7 +284,7 @@ int calendar_record_set_int(calendar_record_h record, unsigned int property_id,
  *              otherwise a negative error value
  * @retval      #CALENDAR_ERROR_NONE                  Successful
  * @retval      #CALENDAR_ERROR_INVALID_PARAMETER     Invalid parameter
- * @retval     #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
+ * @retval      #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
  *
  * @see calendar_record_get_double()
  */
@@ -303,7 +303,7 @@ int calendar_record_set_double(calendar_record_h record, unsigned int property_i
  *              otherwise a negative error value
  * @retval      #CALENDAR_ERROR_NONE                  Successful
  * @retval      #CALENDAR_ERROR_INVALID_PARAMETER     Invalid parameter
- * @retval     #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
+ * @retval      #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
  *
  * @see calendar_record_get_lli()
  */
@@ -322,7 +322,7 @@ int calendar_record_set_lli(calendar_record_h record, unsigned int property_id,
  *              otherwise a negative error value
  * @retval      #CALENDAR_ERROR_NONE                  Successful
  * @retval      #CALENDAR_ERROR_INVALID_PARAMETER     Invalid parameter
- * @retval     #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
+ * @retval      #CALENDAR_ERROR_NOT_PERMITTED         Operation not permitted
  *
  * @see calendar_record_get_caltime()
  */
@@ -384,7 +384,7 @@ int calendar_record_remove_child_record(calendar_record_h record, unsigned int p
  * @see calendar_record_add_child_record()
  * @see calendar_record_remove_child_record()
  */
-int calendar_record_get_child_record_count(calendar_record_h record, unsigned int property_id,unsigned int* count);
+int calendar_record_get_child_record_count(calendar_record_h record, unsigned int property_id, unsigned int* count);
 
 /**
  * @brief Gets a child record handle pointer from the parent record.
index b5b65ea..e179362 100644 (file)
@@ -37,11 +37,11 @@ extern "C" {
 #define _CALENDAR_PROPERTY_CALTIME(property_id_name)    unsigned int property_id_name;
 #define _CALENDAR_PROPERTY_CHILD_MULTIPLE(property_id_name) unsigned int property_id_name;
 #define _CALENDAR_END_VIEW(name) } name##_property_ids; \
-    extern __attribute__ ((visibility("default"))) const name##_property_ids name;
+       extern __attribute__ ((visibility("default"))) const name##_property_ids name;
 
 #define _CALENDAR_BEGIN_READ_ONLY_VIEW() \
-        typedef struct { \
-            const char* _uri;
+       typedef struct { \
+               const char* _uri;
 #define _CALENDAR_PROPERTY_PROJECTION_INT(property_id_name)        unsigned int property_id_name;
 #define _CALENDAR_PROPERTY_PROJECTION_STR(property_id_name)        unsigned int property_id_name;
 #define _CALENDAR_PROPERTY_PROJECTION_DOUBLE(property_id_name)     unsigned int property_id_name;
@@ -53,7 +53,7 @@ extern "C" {
 #define _CALENDAR_PROPERTY_FILTER_LLI(property_id_name)        unsigned int property_id_name;
 #define _CALENDAR_PROPERTY_FILTER_CALTIME(property_id_name)    unsigned int property_id_name;
 #define _CALENDAR_END_READ_ONLY_VIEW(name) } name##_property_ids; \
-    extern __attribute__ ((visibility("default"))) const name##_property_ids name;
+       extern __attribute__ ((visibility("default"))) const name##_property_ids name;
 
 _CALENDAR_HANDLE(calendar_record_h)
 _CALENDAR_HANDLE(calendar_filter_h)
@@ -452,8 +452,8 @@ typedef struct {
                        int minute;                     /**< minute */
                        int second;                     /**< second */
                        bool is_leap_month; /**< Deprecated since 2.4:leap month */
-               }date;
-       }time;
+               } date;
+       } time;
 } calendar_time_s;
 
 /**
@@ -497,4 +497,5 @@ typedef enum {
 }
 #endif
 
-#endif //__TIZEN_SOCIAL_CALENDAR_TYPES_H__
+#endif /*__TIZEN_SOCIAL_CALENDAR_TYPES_H__ */
+