Merge "packaging: spec cleanup" into tizen
[apps/core/preloaded/settings.git] / setting-fileview / include / setting-fileview.h
1 /*
2  * setting
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Flora License, Version 1.1 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://floralicense.org/license/
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 #ifndef __SETTING_FILEVIEW_H__
18 #define __SETTING_FILEVIEW_H__
19
20 #include <stdio.h>
21 #include <Elementary.h>
22 #include <setting-common-draw-widget.h>
23 #include <setting-common-view.h>
24 #include <EWebKit2.h>
25
26 typedef struct _SettingFileviewUG SettingFileviewUG;
27
28 /**
29  * Setting About UG context
30  * all UG function has void* as an agument. this is casted back to SettingFileviewUG
31  * and the functions access app context.
32  */
33 struct _SettingFileviewUG {
34         ui_gadget_h ug;
35         Evas *evas;
36         Evas_Object *win_main_layout;
37         Evas_Object *win_get;
38         Evas_Object *navi_bar;
39         Evas_Object *ly_main;
40         Evas_Object *progress_bar;
41         char *input_file;
42         char *input_title;
43
44         Evas_Object *webkit;
45 };
46 extern setting_view setting_view_fileview_main;
47 #endif                          /* __SETTING_FILEVIEW_H__ */