Fix sample codes for notification_set/get_led
[platform/core/api/notification.git] / include / notification_group.h
1 /*
2  * Copyright (c) 2000 - 2016 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 #ifndef __NOTIFICATION_GROUP_H__
18 #define __NOTIFICATION_GROUP_H__
19
20 #include <notification.h>
21
22 NOTIFICATION_DEPRECATED_API int notification_group_set_title(
23                 const char *pkgname, int group_id, const char *title,
24                 const char *loc_title,
25                 notification_count_display_type_e count_display);
26
27 NOTIFICATION_DEPRECATED_API int notification_group_get_title(
28                 const char *pkgname, int group_id, char **ret_title,
29                 char **ret_loc_title,
30                 notification_count_display_type_e *count_display);
31
32 NOTIFICATION_DEPRECATED_API int notification_group_set_content(
33                 const char *pkgname, int group_id, const char *content,
34                 const char *loc_content,
35                 notification_count_display_type_e count_display);
36
37 NOTIFICATION_DEPRECATED_API int notification_group_get_content(
38                 const char *pkgname, int group_id, char **ret_content,
39                 char **ret_loc_content,
40                 notification_count_display_type_e *count_display);
41
42 NOTIFICATION_DEPRECATED_API int notification_group_set_badge(
43                 const char *pkgname, int group_id, int count);
44
45 NOTIFICATION_DEPRECATED_API int notification_group_get_badge(
46                 const char *pkgname, int group_id, int *count);
47
48 #endif /* __NOTIFICATION_GROUP_H__ */
49