source code open - cert-svc-ui
[framework/security/cert-svc-ui.git] / ug / include / mgr-app-uigadget.h
1 /*
2  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved 
3  * 
4  * This file is part of the Manage Applications
5  * Written by Eunmi Son <eunmi.son@samsung.com>
6  *
7  * PROPRIETARY/CONFIDENTIAL
8  *
9  * This software is the confidential and proprietary information of 
10  * SAMSUNG ELECTRONICS ("Confidential Information"). You shall not 
11  * disclose such Confidential Information and shall use it only in 
12  * accordance with the terms of the license agreement you entered 
13  * into with SAMSUNG ELECTRONICS. 
14  *
15  * SAMSUNG make no representations or warranties about the suitability 
16  * of the software, either express or implied, including but not limited 
17  * to the implied warranties of merchantability, fitness for a particular 
18  * purpose, or non-infringement. SAMSUNG shall not be liable for any 
19  * damages suffered by licensee as a result of using, modifying or 
20  * distributing this software or its derivatives.
21  *
22  */
23
24
25 #ifndef __UG_SETTING_MANAGE_APPLICATION_EFL_H__
26 #define __UG_SETTING_MANAGE_APPLICATION_EFL_H__
27
28 #include <Elementary.h>
29 #include <ui-gadget.h>
30 #include <ui-gadget-module.h>
31 #include <glib.h>
32 #include <app.h>
33 #include <cert-svc/cinstance.h>
34
35 #ifndef PACKAGE
36 #define PACKAGE "ug-setting-manage-certificates-efl"
37 #endif
38
39 #ifndef LOCALEDIR
40 #define LOCALEDIR PREFIX"/res/locale"
41 #endif
42
43 #define IMAGE_PATH PREFIX"/res/images"
44
45 struct ug_data {
46         Evas_Object         *win_main;
47         Evas_Object         *bg;
48         Evas_Object         *layout_main;
49         Evas_Object         *navi_bar;
50         GList               *view_list;
51         ui_gadget_h         ug;
52         ui_gadget_h         sub_ug;
53         void                *data;
54         Evas_Object         *popup;
55
56         Eina_Bool           uninstall;
57
58         char                *uninstall_path;
59         void                *data_to_clear;
60
61         void                *list_to_refresh;
62         struct ListElement  *list_element_to_refresh;
63         char                dir_to_refresh[512];
64         CertSvcInstance     instance;
65         Evas_Object         *genlist_pfx;
66
67         Evas_Object         *indicator;
68         Ecore_Pipe          *msg_pipe;
69
70 };
71
72 struct ug_data *get_ug_data();
73
74 #endif /* __UG_SETTING_MANAGE_APPLICATION_EFL_H__ */