tizen 2.4 release
[apps/home/ug-setting-notification-efl.git] / ug-setting-notification-efl / inc / notification-setting-info.h
1 /*
2  * Copyright (c) 2009 - 2015 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
18
19 #ifndef __NOTIFICATION_SETTING_INFO_H__
20 #define __NOTIFICATION_SETTING_INFO_H__
21
22 #include <Elementary.h>
23 #include "pkgmgr-setting-info.h"
24
25
26 typedef struct _setting_info_t {
27         Eina_List *not_excepted_list;
28         Eina_List *excepted_list;
29         Eina_List *all_apps_list;
30 } setting_info_s;
31
32 bool get_do_not_disturb();
33 void set_do_not_disturb(bool state);
34
35 bool set_allow_to_nofity(char *pkg_name, bool state);
36 bool set_excepted_apps(char *pkg_name, bool state);
37
38 Eina_List *get_all_apps_list();
39 Eina_List *get_excepted_apps_list();
40 Eina_List *get_not_excepted_apps_list();
41
42 void create_app_notification_list();
43 void create_do_not_disturb_application_list();
44
45 void remove_all_apps_list();
46 void remove_excepted_apps_list();
47
48
49 #endif /* __NOTIFICATION_SETTING_INFO_H__ */
50