source code open - cert-svc-ui
[framework/security/cert-svc-ui.git] / cert-selection-ug / include / cert-selection-uigadget.h
1 /*
2  * Copyright (c) 2011 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  * @file        cert-selection-uigadget.h
18  * @author      Janusz Kozerski (j.kozerski@samsung.com)
19  * @version     1.0
20  */
21
22 #ifndef __UG_SETTING_MANAGE_APPLICATION_EFL_H__
23 #define __UG_SETTING_MANAGE_APPLICATION_EFL_H__
24
25 #include <Elementary.h>
26 #include <ui-gadget.h>
27 #include <ui-gadget-module.h>
28 #include <glib.h>
29 #include <app.h>
30
31 #ifndef PACKAGE
32 #define PACKAGE "ug-setting-manage-certificates-efl"
33 #endif
34
35 #ifndef LOCALEDIR
36 #define LOCALEDIR PREFIX"/res/locale"
37 #endif
38
39 #define IMAGE_PATH PREFIX"/res/images"
40
41 struct ug_data {
42     Evas_Object         *win_main;
43     Evas_Object         *bg;
44     Evas_Object         *layout_main;
45     Evas_Object         *navi_bar;
46     GList               *view_list;
47     ui_gadget_h         ug;
48     ui_gadget_h         sub_ug;
49     service_h           *service;
50     void                *data;
51
52     //Evas_Object         *popup;
53     //Evas_Object *indicator;
54     //Ecore_Pipe *msg_pipe;
55
56 };
57
58 struct ug_data *get_ug_data();
59
60 void cert_selection_cb(void *data, Evas_Object *obj, void *event_info);
61
62 #endif /* __UG_SETTING_MANAGE_APPLICATION_EFL_H__ */