2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 #ifndef __DEF_MF_UG_FM_SVC_WRAPPER_H_
21 #define __DEF_MF_UG_FM_SVC_WRAPPER_H_
24 #include "mf-ug-main.h"
26 #define MF_UG_PATH_INFO_MAX_LENGTH_PORTRAIT 35
29 /* file information get/set */
30 unsigned long mf_ug_fm_svc_wapper_get_file_filter(int file_filter_mode);
31 int mf_ug_fm_svc_wapper_get_drm_filter(int drm_filter_mode, unsigned long file_filter);
32 int mf_ug_fm_svc_wapper_get_file_list_by_filter(ugData *data, GString *fullpath, Eina_List **dir_list, Eina_List **filter_list);
33 bool mf_ug_fm_svc_wapper_is_root_path(void *data);
34 GString *mf_ug_fm_svc_wapper_get_file_name(GString *path);
35 char *mf_ug_fm_svc_wapper_get_root_path_by_tab_label(const char *label);
36 int mf_ug_fm_svc_wapper_get_location(char *fullpath);
37 gint mf_ug_fm_svc_wapper_get_folder_foldersystem(GString *path, bool *result);
38 GString *mf_ug_fm_svc_wrapper_get_file_parent_path(GString *fullpath);
39 char *mf_ug_fm_svc_wapper_path_info_get(char *original_path);
40 char *mf_ug_fm_svc_path_info_translate(char *path_info, int path_info_max_len);
41 unsigned long mf_ug_fm_svc_wrapper_get_free_space(int state);
42 int mf_ug_fm_svc_wrapper_file_auto_rename(void *data, GString *fullpath, int file_name_type, GString **filename);
43 int mf_ug_fm_svc_wrapper_create_service(void *data, GString *fullpath);
44 bool mf_ug_fm_svc_wrapper_detect_duplication(GString *to);
45 int mf_ug_fm_svc_wrapper_create_p(const char *fullpath);
46 char *mf_ug_fm_svc_wrapper_translate_path(char *original_path);