bafa61b83818c04103641699fd5c53f929b03f4a
[platform/core/api/media-content.git] / include_product / media_util_private.h
1 /*
2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 */
16
17
18 #ifndef __TIZEN_CONTENT_MEDIA_UTIL_PRIVATE_H__
19 #define __TIZEN_CONTENT_MEDIA_UTIL_PRIVATE_H__
20
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif /* __cplusplus */
25
26 #include <stdbool.h>
27 #include <media_content_type.h>
28
29 /**
30  *@internal
31  */
32 bool _media_util_check_support_media_type(const char *path);
33 int _media_util_check_file_exist(const char *path);
34 void _media_util_trim_path(const char *input_path, char **output_path);
35 int _media_util_get_file_time(const char *path);
36 int _media_util_check_ignore_file(const char *path, bool *ignore);
37 int _media_util_check_ignore_dir(const char *dir_path, bool *ignore);
38 int _media_content_check_dir(const char *path);
39 char * _media_content_replace_path_in_condition(const char *condition);
40 int _media_content_replace_path(const char *path, char *replace_path);
41
42 #ifdef _USE_SENIOR_MODE
43 bool _media_content_is_support_senior_mode();
44 #endif
45
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49 #endif /*__TIZEN_CONTENT_MEDIA_UTIL_PRIVATE_H__*/