36bcc75efd11106ec57c9087c2d8d6fb3c2731a0
[apps/home/minicontrol.git] / include / minicontrol-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 _MINICTRL_VIEWER_H_
18 #define _MINICTRL_VIEWER_H_
19
20 #include <Evas.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /**
27  * @defgroup MINICONTROL_VIEWER_LIBRARY minicontrol provider library
28  * @brief This minicontrol viewer library used to display minicontrol which created by minicontrol provider
29  */
30
31 /**
32  * @addtogroup MINICONTROL_VIEWER_LIBRARY
33  * @{
34  */
35
36 /**
37  * @brief This function add minicontrol named as "svr_name" to given parent evas object then return it
38  * @param[in] parent minicontrol object will be added to this parent evas object
39  * @param[in] svr_name name of minicontrol
40  * @return evas object of minicontrol
41  */
42 Evas_Object *minicontrol_viewer_add(Evas_Object *parent, const char *svr_name);
43
44 /**
45  * @brief Get the basic evas image object from given minicontrol object
46  * @param[in] obj minicontrol object
47  * @return basic evas image object of minicontrol object
48  */
49 Evas_Object *minicontrol_viewer_image_object_get(const Evas_Object *obj);
50
51 #ifdef __cplusplus
52 }
53 #endif
54 #endif /* _MINICTRL_VIEWER_H_ */
55