2 * Copyright (c) 2009 - 2015 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.
19 #ifndef __NOTIFICATION_SETTING_INFO_H__
20 #define __NOTIFICATION_SETTING_INFO_H__
22 #include <Elementary.h>
23 #include "pkgmgr-setting-info.h"
26 typedef struct _setting_info_t {
27 Eina_List *not_excepted_list;
28 Eina_List *excepted_list;
29 Eina_List *all_apps_list;
32 bool get_do_not_disturb();
33 void set_do_not_disturb(bool state);
35 bool set_allow_to_nofity(char *pkg_name, bool state);
36 bool set_excepted_apps(char *pkg_name, bool state);
38 Eina_List *get_all_apps_list();
39 Eina_List *get_excepted_apps_list();
40 Eina_List *get_not_excepted_apps_list();
42 void create_app_notification_list();
43 void create_do_not_disturb_application_list();
45 void remove_all_apps_list();
46 void remove_excepted_apps_list();
49 #endif /* __NOTIFICATION_SETTING_INFO_H__ */