Remove unused PVR, UHD APIs
[platform/core/api/media-content.git] / include_product / media_uhd.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_MEDIA_UHD_H__
19 #define __TIZEN_MEDIA_UHD_H__
20
21 #include <media_content_type.h>
22 #include <media_content_type_product.h>
23
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* __cplusplus */
28
29 int media_uhd_foreach_media_from_db(filter_h filter, media_uhd_cb callback, void *user_data);
30 int media_uhd_destroy(media_uhd_h uhd);
31 int media_uhd_clone(media_uhd_h *dst, media_uhd_h src);
32
33 int media_uhd_get_uhd_from_db(const char *media_id, media_uhd_h *uhd);
34 int media_uhd_get_media_id(media_uhd_h uhd, char **media_id);
35 int media_uhd_get_path(media_uhd_h uhd, char **path);
36 int media_uhd_get_size(media_uhd_h uhd, unsigned long long *size);
37 int media_uhd_get_content_id(media_uhd_h uhd, char **content_id);
38 int media_uhd_get_content_title(media_uhd_h uhd, char **content_title);
39 int media_uhd_get_file_name(media_uhd_h uhd, char **file_name);
40 int media_uhd_get_release_date(media_uhd_h uhd, char **release_date);
41 int media_uhd_get_modified_time(media_uhd_h uhd, time_t *modified_time);
42 int media_uhd_get_played_position(media_uhd_h uhd, int *played_position);
43 int media_uhd_get_played_count(media_uhd_h uhd, int *played_count);
44
45 int media_uhd_set_played_position(media_uhd_h uhd, int played_position);
46 int media_uhd_set_content_title(media_uhd_h uhd, const char *content_title);
47 int media_uhd_set_played_count(media_uhd_h uhd, int played_count);
48
49 int media_uhd_update_to_db(media_uhd_h uhd);
50
51 #ifdef __cplusplus
52 }
53 #endif /* __cplusplus */
54
55 #endif /* __TIZEN_MEDIA_UHD_H__ */