summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/mf-ug-fs-util.h2
-rw-r--r--src/include/mf-ug-util.h7
2 files changed, 8 insertions, 1 deletions
diff --git a/src/include/mf-ug-fs-util.h b/src/include/mf-ug-fs-util.h
index 6b67fb4..9383023 100644
--- a/src/include/mf-ug-fs-util.h
+++ b/src/include/mf-ug-fs-util.h
@@ -315,7 +315,7 @@ int mf_ug_file_attr_is_valid_name(const char *filename);
int mf_ug_fs_oper_read_dir(const char *path, Eina_List **dir_list, Eina_List **file_list);
int mf_ug_fs_oper_list_filter(Eina_List *in_list, Eina_List **out_list, int option, int drm_opt);
int mf_ug_fs_oper_list_filter_by_extension(Eina_List *in_list, Eina_List **out_list, char *ext);
-char *mf_ug_file_attr_get_file_icon(const char *file_path, int *error_code);
+int mf_ug_file_attr_get_file_icon(const char *file_path, int *error_code, char **thumbnail);
mf_ug_drm_file_mime_type mf_ug_fs_oper_get_drm_type(char *path);
int mf_ug_file_attr_is_system_dir(char *fullpath, bool * result);
mf_ug_fs_file_type mf_ug_file_attr_get_file_type_by_mime(const char *file_path);
diff --git a/src/include/mf-ug-util.h b/src/include/mf-ug-util.h
index e8e9bc3..43cd830 100644
--- a/src/include/mf-ug-util.h
+++ b/src/include/mf-ug-util.h
@@ -230,6 +230,13 @@ enum _mf_ug_file_name_type_e {
FILE_NAME_NONE,
};
+typedef enum __mf_ug_thumbnail_type_e mf_ug_thumbnail_type_e;
+enum __mf_ug_thumbnail_type_e {
+ MF_UG_THUMBNAIL_TYPE_DEFAULT,
+ MF_UG_THUMBNAIL_TYPE_THUMBNAIL,
+ MF_UG_THUMBNAIL_TYPE_MAX
+};
+
bool mf_ug_util_is_mass_storage_on();
int mf_ug_util_create_dir_monitor(void *data);
int mf_ug_util_set_mmc_state_cb(void *data);