sync with tizen_2.0
[apps/core/preloaded/music-player.git] / src / widget / include / mp-notification.h
1 /*
2  * Copyright 2012         Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 #ifndef __MP_NOTIFICATION_H__
18 #define __MP_NOTIFICATION_H__
19
20 #include <stdbool.h>
21
22 typedef void *mp_noti_h;
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 mp_noti_h mp_noti_create(const char *title);
29 void mp_noti_destroy(mp_noti_h noti);
30 bool mp_noti_update_size(mp_noti_h noti, unsigned long long total, unsigned long long byte);
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif /* __MP_NOTIFICATION_H__ */
37