Release notification lib for Tizen2.0 beta(tagging)
[apps/home/notification.git] / include / notification_group.h
1 /*
2  *  libnotification
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>, Youngsub Ko <ys4610.ko@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21
22 #ifndef __NOTIFICATION_GROUP_H__
23 #define __NOTIFICATION_GROUP_H__
24
25 #include <notification.h>
26
27 notification_error_e notification_group_set_title(const char *pkgname,
28                                                   int group_id,
29                                                   const char *title,
30                                                   const char *loc_title,
31                                                   notification_count_display_type_e count_display);
32
33 notification_error_e notification_group_get_title(const char *pkgname,
34                                                   int group_id,
35                                                   char **ret_title,
36                                                   char **ret_loc_title,
37                                                   notification_count_display_type_e *count_display);
38
39 notification_error_e notification_group_set_content(const char *pkgname,
40                                                     int group_id,
41                                                     const char *content,
42                                                     const char *loc_content,
43                                                     notification_count_display_type_e count_display);
44
45 notification_error_e notification_group_get_content(const char *pkgname,
46                                                     int group_id,
47                                                     char **ret_content,
48                                                     char **ret_loc_content,
49                                                     notification_count_display_type_e *count_display);
50
51 notification_error_e notification_group_set_badge(const char *pkgname,
52                                                   int group_id, int count);
53
54 notification_error_e notification_group_get_badge(const char *pkgname,
55                                                   int group_id, int *count);
56
57 #endif                          /* __NOTIFICATION_GROUP_H__ */