4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef _MEDIA_SVC_NOTI_H_
21 #define _MEDIA_SVC_NOTI_H_
23 #include <media-util-noti.h>
24 #include "media-svc-util.h"
26 typedef struct _media_svc_noti_item media_svc_noti_item;
28 struct _media_svc_noti_item {
30 media_item_type_e update_item;
31 media_item_update_type_e update_type;
38 void _media_svc_set_noti_from_pid(int pid);
39 void _media_svc_initialize_noti_list(void);
40 void _media_svc_insert_item_to_noti_list(media_svc_content_info_s *content_info);
41 void _media_svc_publish_noti_list(void);
42 void _media_svc_destroy_noti_item(media_svc_noti_item *item);
43 int _media_svc_publish_noti(media_item_update_type_e update_type, const char *path, int media_type, const char *uuid, const char *mime_type);
44 int _media_svc_publish_dir_noti(media_item_update_type_e update_type, const char *path, const char *uuid, int pid);
46 #endif /*_MEDIA_SVC_NOTI_H_*/