2 * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd. All rights reserved.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __NOTIFICATION_GROUP_H__
18 #define __NOTIFICATION_GROUP_H__
20 #include <notification.h>
22 NOTIFICATION_DEPRECATED_API int notification_group_set_title(
23 const char *app_id, int group_id, const char *title,
24 const char *loc_title,
25 notification_count_display_type_e count_display);
27 NOTIFICATION_DEPRECATED_API int notification_group_get_title(
28 const char *app_id, int group_id, char **ret_title,
30 notification_count_display_type_e *count_display);
32 NOTIFICATION_DEPRECATED_API int notification_group_set_content(
33 const char *app_id, int group_id, const char *content,
34 const char *loc_content,
35 notification_count_display_type_e count_display);
37 NOTIFICATION_DEPRECATED_API int notification_group_get_content(
38 const char *app_id, int group_id, char **ret_content,
39 char **ret_loc_content,
40 notification_count_display_type_e *count_display);
42 NOTIFICATION_DEPRECATED_API int notification_group_set_badge(
43 const char *app_id, int group_id, int count);
45 NOTIFICATION_DEPRECATED_API int notification_group_get_badge(
46 const char *app_id, int group_id, int *count);
48 #endif /* __NOTIFICATION_GROUP_H__ */