Remove TIZEN_FEATURE_COMPATIBILITY
[platform/core/api/media-content.git] / include / media_content_internal.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
19 #ifndef __TIZEN_CONTENT_MEDIA_CONTENT_INTERNAL_H__
20 #define __TIZEN_CONTENT_MEDIA_CONTENT_INTERNAL_H__
21
22 #include <media_content_type.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* __cplusplus */
27
28 /**
29  * @internal
30  * @file media_content_internal.h
31  * @brief This file contains API on main functional operations with storage that are related to media resources in the media database. \n
32  *        Operations include: inserting a new storage in media to the media database, removing storage from database, \n
33  */
34
35 /*Bookmark for C#*/
36 int media_bookmark_create(const char *media_id, time_t time, media_bookmark_h *bookmark);
37 int media_bookmark_set_thumbnail_path(media_bookmark_h bookmark, const char *path);
38 int media_bookmark_insert_to_db_v2(media_bookmark_h bookmark);
39
40 /*Playlist for C#*/
41 int media_playlist_create(media_playlist_h *playlist);
42 int media_playlist_get_play_order_v2(int playlist_id, int playlist_member_id, int *play_order);
43 int media_playlist_insert_to_db_v2(media_playlist_h playlist);
44 int media_playlist_update_to_db_v2(int playlist_id, media_playlist_h playlist);
45
46 /*Tag for C#*/
47 int media_tag_create(media_tag_h *tag);
48 int media_tag_insert_to_db_v2(media_tag_h tag);
49 int media_tag_update_to_db_v2(int tag_id, media_tag_h tag);
50
51 /*Filter for C#*/
52 int media_filter_set_condition_v2(filter_h filter, const char *condition);
53 int media_filter_get_condition_v2(filter_h filter, char **condition);
54 int media_filter_set_order_v2(filter_h filter, const char *order);
55 int media_filter_get_order_v2(filter_h filter, char **order);
56
57
58 /* Only for system session process */
59 int media_content_connect_with_uid(uid_t uid);
60
61 /* For web API */
62
63 int image_meta_set_orientation(image_meta_h image, media_content_orientation_e orientation) TIZEN_DEPRECATED_API;
64
65 int image_meta_update_to_db(image_meta_h image) TIZEN_DEPRECATED_API;
66
67 int media_info_set_description(media_info_h media, const char *description) TIZEN_DEPRECATED_API;
68
69 int media_info_set_longitude(media_info_h media, double longitude) TIZEN_DEPRECATED_API;
70
71 int media_info_set_latitude(media_info_h media, double latitude) TIZEN_DEPRECATED_API;
72
73 int media_info_set_rating(media_info_h media, int rating) TIZEN_DEPRECATED_API;
74
75 #ifdef __cplusplus
76 }
77 #endif /* __cplusplus */
78 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_INTERNAL_H__*/