2 * Copyright (c) 2000 - 2013 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.
18 #ifndef SETTING_NOTIFICATION_H_
19 #define SETTING_NOTIFICATION_H_
21 #include <Elementary.h>
25 #include "setting_data_vconf.h"
28 #define NOTIFICATION_ITEM_COUNT 1
30 #define VCONF_WMS_NOTIFICATION_KEY "db/wms/noti_onoff_support"
32 struct _noti_menu_item
36 void (*func)(void *data, Evas_Object *obj, void *event_info);
39 typedef struct Noti_Item_Data
42 Elm_Object_Item *item;
46 typedef struct _noti_data
52 Evas_Object * g_noti_genlist;
57 void _initialize_noti();
58 Eina_Bool _clear_noti_cb(void *data, Elm_Object_Item *it);
60 char * _gl_noti_title_get(void *data, Evas_Object *obj, const char *part);
61 Evas_Object * _gl_noti_check_get(void *data, Evas_Object *obj, const char *part);
62 Evas_Object* _create_noti_list(void* data);
64 void noti_enabling_vconf_changed_cb(keynode_t *key, void * data);
65 void _noti_gl_enabling_noti_cb(void *data, Evas_Object *obj, void *event_info);
67 #endif /* SETTING_NOTIFICATION_H_ */