Added code comments 95/152595/1
authorRahul Dadhich <r.dadhich@samsung.com>
Tue, 26 Sep 2017 11:24:44 +0000 (16:54 +0530)
committerRahul Dadhich <r.dadhich@samsung.com>
Tue, 26 Sep 2017 11:24:44 +0000 (16:54 +0530)
Change-Id: I9db2399537a3bbcc771a1cea00de902b54923992
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
12 files changed:
src/data/ge-data-type.c
src/data/ge-data-util.c
src/data/ge-data.c
src/data/ge-local-data.c
src/gallery-efl.c
src/util/ge-db-update.c
src/util/ge-file-util.c
src/util/ge-ui-util.c
src/util/ge-util.c
src/view/ge-albums.c
src/view/ge-main-view.c
src/widget/ge-nocontent.c

index d850035..73a733f 100644 (file)
 #include "ge-debug.h"
 #include "ge-ugdata.h"
 
+/**
+ *
+ * @param item
+ * @return
+ */
 int _ge_data_type_new_media(ge_media_s ** item)
 {
        GE_CHECK_VAL(item, -1);
@@ -29,6 +34,11 @@ int _ge_data_type_new_media(ge_media_s ** item)
        return 0;
 }
 
+/**
+ *
+ * @param item
+ * @return
+ */
 static int __ge_data_type_free_media(ge_media_s ** item)
 {
        GE_CHECK_VAL(item, -1);
@@ -53,6 +63,11 @@ static int __ge_data_type_free_media(ge_media_s ** item)
        return 0;
 }
 
+/**
+ *
+ * @param pitem
+ * @return
+ */
 int _ge_data_type_free_geitem(void **pitem)
 {
        GE_CHECK_VAL(pitem, -1);
index 22d47e9..54db623 100644 (file)
 
 #include "ge-data-util.h"
 
-/*
-*  create a gitem
-*/
+/**
+ *
+ * @return
+ */
 ge_item *_ge_data_util_calloc_geitem(void)
 {
        ge_item *gitem = (ge_item *) calloc(1, sizeof(ge_item));
@@ -26,9 +27,11 @@ ge_item *_ge_data_util_calloc_geitem(void)
        return gitem;
 }
 
-/*
-*   destroy a ge_item
-*/
+/**
+ *
+ * @param gitem
+ * @return
+ */
 int _ge_data_util_free_geitem(ge_item * gitem)
 {
        if (gitem) {
@@ -41,6 +44,11 @@ int _ge_data_util_free_geitem(ge_item * gitem)
        return 0;
 }
 
+/**
+ *
+ * @param elist
+ * @return
+ */
 int _ge_data_util_free_mtype_items(Eina_List ** elist)
 {
        void *current = NULL;
@@ -60,6 +68,11 @@ int _ge_data_util_free_mtype_items(Eina_List ** elist)
        return 0;
 }
 
+/**
+ *
+ * @param gitem
+ * @return
+ */
 int _ge_data_util_free_item(ge_item * gitem)
 {
        GE_CHECK_VAL(gitem, -1);
@@ -68,9 +81,11 @@ int _ge_data_util_free_item(ge_item * gitem)
        return 0;
 }
 
-/*
-*  Create a gitem for selected item
-*/
+/**
+ *
+ * @param gitem
+ * @return
+ */
 ge_sel_item_s *_ge_data_util_new_sel_item(ge_item * gitem)
 {
        GE_CHECK_NULL(gitem);
@@ -85,9 +100,11 @@ ge_sel_item_s *_ge_data_util_new_sel_item(ge_item * gitem)
        return item;
 }
 
-/*
-*  Free a ge_sel_item_s item
-*/
+/**
+ *
+ * @param item
+ * @return
+ */
 int _ge_data_util_free_sel_item(ge_sel_item_s * item)
 {
        GE_CHECK_VAL(item, -1);
@@ -97,6 +114,12 @@ int _ge_data_util_free_sel_item(ge_sel_item_s * item)
        return 0;
 }
 
+/**
+ *
+ * @param condition
+ * @param filter
+ * @return
+ */
 int _ge_data_util_create_filter(ge_filter_s * condition, filter_h * filter)
 {
        GE_CHECK_VAL(filter, -1);
@@ -152,6 +175,11 @@ int _ge_data_util_create_filter(ge_filter_s * condition, filter_h * filter)
        return -1;
 }
 
+/**
+ *
+ * @param filter
+ * @return
+ */
 int _ge_data_util_destroy_filter(filter_h filter)
 {
        GE_CHECK_VAL(filter, -1);
@@ -164,6 +192,13 @@ int _ge_data_util_destroy_filter(filter_h filter)
        return 0;
 }
 
+/**
+ *
+ * @param media
+ * @param pitem
+ * @param b_meta
+ * @return
+ */
 bool _ge_data_util_clone_media(media_info_h media, ge_media_s ** pitem,
                                                           bool b_meta)
 {
index 32d6674..ce6b197 100644 (file)
 #include "ge-strings.h"
 #include "ge-file-util.h"
 
-/*
-*  Free a ge_sel_album_s album
-*/
+/**
+ *
+ * @param album
+ * @return
+ */
 int _ge_data_free_sel_album(ge_sel_album_s * album)
 {
        GE_CHECK_VAL(album, -1);
@@ -40,6 +42,14 @@ int _ge_data_free_sel_album(ge_sel_album_s * album)
 }
 
 /* Append items' path */
+/**
+ *
+ * @param ugd
+ * @param filepath
+ * @param filepath_arr
+ * @param cnt
+ * @return
+ */
 int _ge_data_get_sel_paths(ge_ugdata * ugd, char **filepath,
                                                   char ***filepath_arr, int *cnt)
 {
@@ -74,17 +84,19 @@ int _ge_data_get_sel_paths(ge_ugdata * ugd, char **filepath,
        sit = NULL;
        if (_cnt > 0) {
                *filepath_arr = (char **) calloc(_cnt, sizeof(char *));
-               EINA_LIST_FREE(path_list, sit) {
-                       if (sit && sit->file_url) {
-                               (*filepath_arr)[idx] = strdup(sit->file_url);
-                               idx++;
-                               sit = NULL;
-                       } else {
-                               ge_sdbgE("Invalid file path");
+               if (*filepath_arr) {
+                       EINA_LIST_FREE(path_list, sit) {
+                               if (sit && sit->file_url) {
+                                       (*filepath_arr)[idx] = strdup(sit->file_url);
+                                       idx++;
+                                       sit = NULL;
+                               } else {
+                                       ge_sdbgE("Invalid file path");
+                               }
                        }
                }
-               ge_dbg("array finished!");
-       } else {
+                       ge_dbg("array finished!");
+               } else {
                ge_sdbgE("Copy to path_array failed!");
        }
 
@@ -99,6 +111,18 @@ int _ge_data_get_sel_paths(ge_ugdata * ugd, char **filepath,
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @param uuid
+ * @param type
+ * @param start_pos
+ * @param end_pos
+ * @param pmedias_elist
+ * @param restore_cb
+ * @param sel_id
+ * @return
+ */
 int _ge_data_get_medias(ge_ugdata * ugd, char *uuid, int type,
                                                int start_pos, int end_pos,
                                                Eina_List ** pmedias_elist,
@@ -167,7 +191,14 @@ int _ge_data_get_medias(ge_ugdata * ugd, char *uuid, int type,
        return err;
 }
 
-
+/**
+ *
+ * @param ugd
+ * @param cluster_id
+ * @param album_type
+ * @param item_cnt
+ * @return
+ */
 int _ge_data_get_item_cnt(ge_ugdata * ugd, const char *cluster_id,
                                                  int album_type, int *item_cnt)
 {
@@ -209,6 +240,12 @@ int _ge_data_get_item_cnt(ge_ugdata * ugd, const char *cluster_id,
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @param media_id
+ * @return
+ */
 int _ge_data_del_media_by_id(ge_ugdata * ugd, const char *media_id)
 {
        GE_CHECK_VAL(media_id, -1);
@@ -222,6 +259,13 @@ int _ge_data_del_media_by_id(ge_ugdata * ugd, const char *media_id)
 }
 
 /* Creates a thumbnail image for given the media, asynchronously */
+/**
+ *
+ * @param item
+ * @param callback
+ * @param data
+ * @return
+ */
 int _ge_data_create_thumb(ge_media_s * item,
                                                  media_thumbnail_completed_cb callback,
                                                  void *data)
@@ -243,6 +287,11 @@ int _ge_data_create_thumb(ge_media_s * item,
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int _ge_data_init(ge_ugdata * ugd)
 {
        ge_dbg("Connect to DB!");
@@ -256,6 +305,11 @@ int _ge_data_init(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int _ge_data_finalize(ge_ugdata * ugd)
 {
        ge_dbg("Free memory and disconnect with DB!");
index 36600d4..51dd7c9 100644 (file)
 #include "ge-local-data.h"
 #include "ge-debug.h"
 
+/**
+ *
+ * @param media
+ * @param data
+ * @return
+ */
 static bool __ge_local_data_get_media_list_cb(media_info_h media,
                                                                                          void *data)
 {
@@ -43,6 +49,10 @@ static bool __ge_local_data_get_media_list_cb(media_info_h media,
        }
 }
 
+/**
+ *
+ * @return
+ */
 int _ge_local_data_connect(void)
 {
        int ret = -1;
@@ -57,6 +67,10 @@ int _ge_local_data_connect(void)
        }
 }
 
+/**
+ *
+ * @return
+ */
 int _ge_local_data_disconnect(void)
 {
        int ret = -1;
@@ -71,6 +85,13 @@ int _ge_local_data_disconnect(void)
        }
 }
 
+/**
+ *
+ * @param cluster_id
+ * @param condition
+ * @param item_cnt
+ * @return
+ */
 int _ge_local_data_get_media_count(const char *cluster_id,
                                                                   ge_filter_s * condition, int *item_cnt)
 {
@@ -129,6 +150,12 @@ int _ge_local_data_get_all_media_count(ge_filter_s * condtion,
        return 0;
 }
 
+/**
+ *
+ * @param condition
+ * @param elist
+ * @return
+ */
 int _ge_local_data_get_all_albums_media_list(ge_filter_s * condition,
                                                                                         Eina_List ** elist)
 {
index 88d9df4..c8b1c2e 100644 (file)
 #define GE_BG_COLOR_DEFAULT 0
 #define GE_BG_COLOR_A 255
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static int __ge_create_main_view(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -41,6 +46,11 @@ static int __ge_create_main_view(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param parent
+ * @return
+ */
 static Evas_Object *_ge_create_bg(Evas_Object * parent)
 {
        ge_dbg("");
@@ -103,6 +113,11 @@ static void __ge_win_rot_changed_cb(void *data, Evas_Object * obj,
 
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static int _ge_init_view(ge_ugdata * ugd)
 {
        ge_dbg("");
@@ -136,6 +151,11 @@ static int _ge_init_view(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static int _ge_create_view(ge_ugdata * ugd)
 {
        ge_dbg("");
@@ -164,6 +184,10 @@ static int _ge_create_view(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ */
 void _ge_free_sel_info(ge_ugdata * ugd)
 {
        ge_dbg("Deleting selected media data");
@@ -178,6 +202,10 @@ void _ge_free_sel_info(ge_ugdata * ugd)
        ge_dbg("Deleting selected media data done");
 }
 
+/**
+ *
+ * @param ugd
+ */
 void _ge_free_medias(ge_ugdata * ugd)
 {
        ge_dbg("Deleting media data");
@@ -190,6 +218,10 @@ void _ge_free_medias(ge_ugdata * ugd)
        ge_dbg("Deleting media data done");
 }
 
+/**
+ *
+ * @param ugd
+ */
 void _ge_free_thumb_data(ge_ugdata * ugd)
 {
        ge_dbg("Deleting thumb data");
@@ -216,6 +248,11 @@ void _ge_free_thumb_data(ge_ugdata * ugd)
 
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static int _ge_close_view(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -266,6 +303,13 @@ static int _ge_close_view(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ *
+ * @param ugd
+ * @param service
+ * @return
+ */
 static int __ge_parse_param_file(ge_ugdata * ugd, app_control_h service)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -307,6 +351,12 @@ static int __ge_parse_param_file(ge_ugdata * ugd, app_control_h service)
 }
 
 /* analysis parameters */
+/**
+ *
+ * @param ugd
+ * @param service
+ * @return
+ */
 static int _ge_parse_param(ge_ugdata * ugd, app_control_h service)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -407,6 +457,11 @@ static int _ge_parse_param(ge_ugdata * ugd, app_control_h service)
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static int __ge_get_rotate_value(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -829,6 +884,13 @@ static void _ge_event(ui_gadget_h ug, enum ug_event event,
        }
 }
 
+/**
+ *
+ * @param ug
+ * @param event
+ * @param service
+ * @param priv
+ */
 static void _ge_key_event(ui_gadget_h ug, enum ug_key_event event,
                                                  app_control_h service, void *priv)
 {
index 0e96043..6ec3ec0 100644 (file)
@@ -33,6 +33,11 @@ struct ge_db_noti_t {
        int count;                                      /* All media count got from DB */
 };
 
+/**
+ *
+ * @param data
+ * @return
+ */
 static Eina_Bool __ge_db_update_idler(void *data)
 {
        GE_CHECK_FALSE(data);
@@ -46,6 +51,11 @@ static Eina_Bool __ge_db_update_idler(void *data)
        return ECORE_CALLBACK_CANCEL;
 }
 
+/**
+ *
+ * @param data
+ * @return
+ */
 static Eina_Bool __ge_db_update_timer_cb(void *data)
 {
        GE_CHECK_FALSE(data);
@@ -60,6 +70,11 @@ static Eina_Bool __ge_db_update_timer_cb(void *data)
        return ECORE_CALLBACK_CANCEL;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static int __ge_db_update_add_timer(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -73,6 +88,19 @@ static int __ge_db_update_add_timer(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param error
+ * @param pid
+ * @param update_item
+ * @param update_type
+ * @param media_type
+ * @param uuid
+ * @param path
+ * @param mime_type
+ * @param data
+ * @return
+ */
 static int __ge_db_update_op(media_content_error_e error, int pid,
                                                         media_content_db_update_item_type_e
                                                         update_item,
@@ -102,6 +130,18 @@ static int __ge_db_update_op(media_content_error_e error, int pid,
        return 0;
 }
 
+/**
+ *
+ * @param error
+ * @param pid
+ * @param update_item
+ * @param update_type
+ * @param media_type
+ * @param uuid
+ * @param path
+ * @param mime_type
+ * @param data
+ */
 static void __ge_db_update_cb(media_content_error_e error, int pid,
                                                          media_content_db_update_item_type_e
                                                          update_item,
@@ -118,6 +158,11 @@ static void __ge_db_update_cb(media_content_error_e error, int pid,
 }
 
 /*Add media-content update callback*/
+/**
+ *
+ * @param ugd
+ * @return
+ */
 bool _ge_db_update_reg_cb(ge_ugdata * ugd)
 {
        GE_CHECK_FALSE(ugd);
@@ -143,6 +188,11 @@ bool _ge_db_update_reg_cb(ge_ugdata * ugd)
        return true;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 bool _ge_db_update_finalize(ge_ugdata * ugd)
 {
        int ret = -1;
index 9a463c3..2fc4a1e 100644 (file)
 #include "ge-file-util.h"
 #include <string.h>
 
-
+/**
+ *
+ * @param path
+ * @return
+ */
 int ge_file_exists(const char *path)
 {
        struct stat info = { 0, };
@@ -29,6 +33,11 @@ int ge_file_exists(const char *path)
        }
 }
 
+/**
+ *
+ * @param filename
+ * @return
+ */
 int ge_file_size(const char *filename)
 {
        struct stat info = { 0, };
index 3d668de..72e2d12 100644 (file)
 #include "ge-icon.h"
 #include <efl_extension.h>
 
-
+/**
+ *
+ * @param parent
+ * @param file
+ * @param group
+ * @return
+ */
 Evas_Object *ge_ui_load_edj(Evas_Object * parent, const char *file,
                                                        const char *group)
 {
@@ -50,6 +56,11 @@ Evas_Object *ge_ui_load_edj(Evas_Object * parent, const char *file,
        return eo;
 }
 
+/**
+ *
+ * @param parent
+ * @return
+ */
 Evas_Object *ge_ui_create_main_ly(Evas_Object * parent)
 {
        GE_CHECK_NULL(parent);
@@ -76,6 +87,12 @@ Evas_Object *ge_ui_create_main_ly(Evas_Object * parent)
        return layout;
 }
 
+/**
+ *
+ * @param ugd
+ * @param parent
+ * @return
+ */
 Evas_Object *ge_ui_create_naviframe(ge_ugdata * ugd, Evas_Object * parent)
 {
        GE_CHECK_NULL(ugd);
@@ -96,6 +113,11 @@ Evas_Object *ge_ui_create_naviframe(ge_ugdata * ugd, Evas_Object * parent)
        return nf;
 }
 
+/**
+ *
+ * @param obj
+ * @return
+ */
 int _ge_ui_reset_scroller_pos(Evas_Object * obj)
 {
        GE_CHECK_VAL(obj, -1);
@@ -106,6 +128,12 @@ int _ge_ui_reset_scroller_pos(Evas_Object * obj)
        return 0;
 }
 
+/**
+ *
+ * @param obj
+ * @param str
+ * @return
+ */
 int _ge_ui_set_translate_str(Evas_Object * obj, const char *str)
 {
        GE_CHECK_VAL(str, -1);
@@ -115,6 +143,13 @@ int _ge_ui_set_translate_str(Evas_Object * obj, const char *str)
        return 0;
 }
 
+/**
+ *
+ * @param obj
+ * @param part
+ * @param str
+ * @return
+ */
 int _ge_ui_set_translate_part_str(Evas_Object * obj, const char *part,
                                                                  const char *str)
 {
@@ -129,6 +164,11 @@ int _ge_ui_set_translate_part_str(Evas_Object * obj, const char *part,
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int _ge_ui_get_indicator_state(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -144,6 +184,11 @@ int _ge_ui_get_indicator_state(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int _ge_ui_hide_indicator(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
index 8834119..de3fbda 100644 (file)
 
 static int __externalStorageId = 0;
 
+/**
+ *
+ * @param storageId
+ * @param type
+ * @param state
+ * @param path
+ * @param userData
+ * @return
+ */
 bool getSupportedStorages_cb(int storageId, storage_type_e type,
                                                         storage_state_e state, const char *path,
                                                         void *userData)
@@ -42,6 +51,12 @@ bool getSupportedStorages_cb(int storageId, storage_type_e type,
        return true;
 }
 
+/**
+ *
+ * @param storage_id
+ * @param state
+ * @param user_data
+ */
 static void _ge_db_update_sdcard_info(int storage_id,
                                                                          storage_state_e state,
                                                                          void *user_data)
@@ -73,6 +88,12 @@ static void _ge_db_update_sdcard_info(int storage_id,
        }
 }
 
+/**
+ *
+ * @param ugd
+ * @param mode
+ * @return
+ */
 Eina_Bool ge_update_view(ge_ugdata * ugd, int mode)
 {
        ge_dbg("mode: %d", mode);
@@ -87,6 +108,11 @@ Eina_Bool ge_update_view(ge_ugdata * ugd, int mode)
        return EINA_TRUE;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int ge_reg_db_update_noti(ge_ugdata * ugd)
 {
        ge_dbg("");
@@ -102,6 +128,10 @@ int ge_reg_db_update_noti(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @return
+ */
 int ge_dereg_db_update_noti(void)
 {
        ge_dbg("");
@@ -117,6 +147,11 @@ int ge_dereg_db_update_noti(void)
        return 0;
 }
 
+/**
+ *
+ * @param number
+ * @return
+ */
 int _ge_atoi(const char *number)
 {
        char *endptr = NULL;
index aeec542..2ae0811 100644 (file)
 
 static Evas_Object* __ge_create_gengrid(ge_ugdata* ugd);
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void _ge_grid_move_stop_cb(void *data, Evas_Object * obj, void *ei)
 {
        ge_dbg("");
@@ -58,6 +64,12 @@ static void _ge_grid_move_stop_cb(void *data, Evas_Object * obj, void *ei)
        app_control_destroy(app_control);
 }
 
+/**
+ *
+ * @param ugd
+ * @param parent
+ * @return
+ */
 static Evas_Object *__ge_albums_add_view(ge_ugdata * ugd,
                Evas_Object * parent)
 {
@@ -102,6 +114,14 @@ static Eina_Bool __ge_main_back_cb(void *data, Elm_Object_Item * it)
        return EINA_FALSE;
 }
 
+/**
+ *
+ * @param obj
+ * @param path
+ * @param item_w
+ * @param item_h
+ * @return
+ */
 Evas_Object *ge_thumb_show_part_icon_image(Evas_Object * obj, char *path,
                int item_w, int item_h)
 {
@@ -133,6 +153,12 @@ Evas_Object *ge_thumb_show_part_icon_image(Evas_Object * obj, char *path,
        return layout;
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void __ge_grid_done_cb(void *data, Evas_Object * obj, void *ei)
 {
        ge_dbgE("Transferring Data to caller");
@@ -186,6 +212,12 @@ static void __ge_grid_done_cb(void *data, Evas_Object * obj, void *ei)
        }
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void
 __ge_check_state_changed_cb(void *data, Evas_Object * obj, void *ei)
 {
@@ -280,6 +312,11 @@ __ge_check_state_changed_cb(void *data, Evas_Object * obj, void *ei)
        }
 }
 
+/**
+ *
+ * @param data
+ * @return
+ */
 static Evas_Object *__ge_nocontent_get(void *data)
 {
        ge_ugdata *ugd = (ge_ugdata *) data;
@@ -311,7 +348,13 @@ static Evas_Object *__ge_nocontent_get(void *data)
 
 }
 
-
+/**
+ *
+ * @param data
+ * @param obj
+ * @param part
+ * @return
+ */
 static Evas_Object *__ge_gengrid_item_content_get(void *data,
                Evas_Object * obj,
                const char *part)
@@ -412,6 +455,13 @@ static Evas_Object *__ge_gengrid_item_content_get(void *data,
        return layout;
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param part
+ * @return
+ */
 Evas_Object *
 _ge_gengrid_content_get(void *data, Evas_Object *obj, const char *part)
 {
@@ -426,6 +476,13 @@ _ge_gengrid_content_get(void *data, Evas_Object *obj, const char *part)
        return NULL;
 }
 
+/**
+ *
+ * @param request
+ * @param reply
+ * @param result
+ * @param data
+ */
 static void
 __ge_gallery_ug_result_cb(app_control_h request, app_control_h reply,
                app_control_result_e result, void *data)
@@ -475,6 +532,10 @@ __ge_gallery_ug_result_cb(app_control_h request, app_control_h reply,
        }
 }
 
+/**
+ *
+ * @param ugd
+ */
 void __ge_grid_reset_view(ge_ugdata * ugd)
 {
        ge_dbg("");
@@ -512,7 +573,12 @@ void __ge_grid_reset_view(ge_ugdata * ugd)
        }
 }
 
-
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void __ge_launch_ug_gallery(void *data, Evas_Object * obj, void *ei)
 {
        ge_ugdata *ugd = (ge_ugdata *) data;
@@ -559,6 +625,12 @@ static void __ge_launch_ug_gallery(void *data, Evas_Object * obj, void *ei)
        }
 }
 
+/**
+ *
+ * @param gitem
+ * @param file_url
+ * @return
+ */
 static int __ge_grid_select_one(ge_item * gitem, char *file_url)
 {
        GE_CHECK_VAL(file_url, -1);
@@ -612,6 +684,12 @@ static int __ge_grid_select_one(ge_item * gitem, char *file_url)
        return ret;
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void
 __ge_gengrid_item_sel_cb(void *data, Evas_Object * obj, void *ei)
 {
@@ -728,6 +806,12 @@ __ge_gengrid_item_sel_cb(void *data, Evas_Object * obj, void *ei)
        }
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void __ge_cancel_cb(void *data, Evas_Object * obj, void *ei)
 {
        ge_ugdata *app_data = (ge_ugdata *) data;
@@ -765,6 +849,11 @@ static void __ge_cancel_cb(void *data, Evas_Object * obj, void *ei)
        elm_naviframe_item_pop(app_data->naviframe);
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int ge_update_gengrid(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
@@ -920,6 +1009,12 @@ int ge_update_gengrid(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param error
+ * @param path
+ * @param user_data
+ */
 static void _ge_grid_thumb_created_cb(media_content_error_e error,
                const char *path, void *user_data)
 {
@@ -945,6 +1040,12 @@ static void _ge_grid_thumb_created_cb(media_content_error_e error,
        }
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void __ge_grid_realized(void *data, Evas_Object * obj, void *ei)
 {
        GE_CHECK(ei);
@@ -983,6 +1084,12 @@ static void __ge_grid_realized(void *data, Evas_Object * obj, void *ei)
        }
 }
 
+/**
+ *
+ * @param data
+ * @param obj
+ * @param ei
+ */
 static void __ge_grid_unrealized(void *data, Evas_Object * obj, void *ei)
 {
        ge_dbg("Grid unrealized");
@@ -1022,6 +1129,11 @@ static void __ge_grid_unrealized(void *data, Evas_Object * obj, void *ei)
        }
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 static Evas_Object* __ge_create_gengrid(ge_ugdata* ugd)
 {
        Evas_Object* gengrid;
@@ -1053,6 +1165,11 @@ static Evas_Object* __ge_create_gengrid(ge_ugdata* ugd)
        return gengrid;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int ge_create_gengrid(ge_ugdata * ugd)
 {
        ge_dbgE("");
@@ -1209,6 +1326,11 @@ int ge_create_gengrid(ge_ugdata * ugd)
        return 0;
 }
 
+/**
+ *
+ * @param ugd
+ * @param state
+ */
 void _ge_grid_change_selection_mode(ge_ugdata * ugd, bool state)
 {
        GE_CHECK(ugd);
index ac8a035..b570c15 100644 (file)
 #include "ge-util.h"
 #include "ge-albums.h"
 
+/**
+ *
+ * @param ugd
+ * @param parent
+ * @return
+ */
 static Evas_Object *__ge_main_create_ly(ge_ugdata * ugd,
                                                                                Evas_Object * parent)
 {
@@ -32,6 +38,11 @@ static Evas_Object *__ge_main_create_ly(ge_ugdata * ugd,
        return layout;
 }
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 int _ge_main_create_view(ge_ugdata * ugd)
 {
        GE_CHECK_VAL(ugd, -1);
index a9264df..896caa5 100644 (file)
 #include "ge-ui-util.h"
 #include "ge-debug.h"
 
+/**
+ *
+ * @param ugd
+ * @return
+ */
 Evas_Object *_ge_nocontents_create(ge_ugdata * ugd)
 {
        GE_CHECK_NULL(ugd);