add_viewer: Create basic add-viewer view.
[apps/native/home/homescreen-efl.git] / inc / add_viewer / add_viewer.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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 #ifndef ADD_VIEWER_H_
18 #define ADD_VIEWER_H_
19
20 #include "homescreen-efl.h"
21
22 /**
23  * @brief Create "add viewer" window
24  *
25  * @details Creates basic window that shows genlist with
26  * all found widgets on device.
27  *
28  * @param w Evas_Coord width of the window
29  * @param h Evas_Coord height of the window
30  */
31 void add_viewer_window_create(Evas_Coord w, Evas_Coord h);
32
33 /**
34  * @brief Delete "add viewer" window
35  *
36  * @details Deletes "add viewer" window and goes back to
37  * homescreen home view
38  */
39 void add_viewer_window_delete(void);
40
41 /**
42  * @brief Get "add viewer" layout
43  *
44  * @return layout Evas_Object
45  */
46 Evas_Object *add_viewer_get_layout(void);
47
48 /**
49  * @brief Get "add viewer" main theme
50  *
51  * @return theme Elm_Theme
52  */
53 Elm_Theme *add_viewer_get_main_theme(void);
54
55 #endif