summaryrefslogtreecommitdiff
path: root/src/include/mf-ug-fm-svc-wrapper.h
blob: d375242ffcaa97be22ccfc829d3baba6dac53a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Copyright 2012          Samsung Electronics Co., Ltd
 *
 * Licensed under the Flora License, Version 1.1 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://floralicense.org/license/
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */




#ifndef __DEF_MF_UG_FM_SVC_WRAPPER_H_
#define __DEF_MF_UG_FM_SVC_WRAPPER_H_

#include <glib.h>
#include "mf-ug-main.h"

#define MF_UG_PATH_INFO_MAX_LENGTH_PORTRAIT	35


/* file information get/set */
unsigned long mf_ug_fm_svc_wapper_get_file_filter(int file_filter_mode);
int mf_ug_fm_svc_wapper_get_drm_filter(int drm_filter_mode, unsigned long file_filter);
int mf_ug_fm_svc_wapper_get_file_list_by_filter(ugData *data, GString *fullpath, Eina_List **dir_list, Eina_List **filter_list);
bool mf_ug_fm_svc_wapper_is_root_path(void *data);
GString *mf_ug_fm_svc_wapper_get_file_name(GString *path);
char *mf_ug_fm_svc_wapper_get_root_path_by_tab_label(const char *label);
int mf_ug_fm_svc_wapper_get_location(char *fullpath);
gint mf_ug_fm_svc_wapper_get_folder_foldersystem(GString *path, bool *result);
GString *mf_ug_fm_svc_wrapper_get_file_parent_path(GString *fullpath);
char *mf_ug_fm_svc_wapper_path_info_get(char *original_path);
char *mf_ug_fm_svc_path_info_translate(char *path_info, int path_info_max_len);
unsigned long mf_ug_fm_svc_wrapper_get_free_space(int state);
int mf_ug_fm_svc_wrapper_file_auto_rename(void *data, GString *fullpath, int file_name_type, GString **filename);
int mf_ug_fm_svc_wrapper_create_service(void *data, GString *fullpath);
bool mf_ug_fm_svc_wrapper_detect_duplication(GString *to);
int mf_ug_fm_svc_wrapper_create_p(const char *fullpath);
char *mf_ug_fm_svc_wrapper_translate_path(char *original_path);

#endif