tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / include / setting-privacy.h
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  *  Licensed under the Flora License, Version 1.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://floralicense.org/license/
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  * setting-privacy.h
19  *
20  *  Created on: Jan 7, 2014
21  *      Author: Sunyeop Hwang
22  */
23
24 #ifndef SETTING_PRIVACY_H_
25 #define SETTING_PRIVACY_H_
26
27 #include <Elementary.h>
28
29 struct _privacy_menu_item {
30         char *name;
31         void (*func)(void *data, Evas_Object *obj, void *event_info);
32 };
33
34 typedef struct Privacy_Item_Data {
35         int index;
36         Elm_Object_Item *item;
37         Evas_Object *check;
38 } Privacy_Item_Data;
39
40 Evas_Object *create_privacy_list(void *data);
41 Eina_Bool clear_privacy_cb(void *data, Elm_Object_Item *it);
42
43 #endif /* SETTING_PRIVACY_H_ */