2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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
8 * http://www.tizenopensource.org/license
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.
17 #ifndef _MINICTRL_VIEWER_H_
18 #define _MINICTRL_VIEWER_H_
21 #include "minicontrol-error.h"
22 #include "minicontrol-type.h"
29 * @file minicontrol-viewer.h
30 * @brief This minicontrol viewer library used to display minicontrol which created by minicontrol provider
34 * @addtogroup MINICONTROL_VIEWER_MODULE
39 * @brief This function add minicontrol named as "svr_name" to given parent evas object then return it
40 * @param[in] parent minicontrol object will be added to this parent evas object
41 * @param[in] svr_name name of minicontrol
42 * @return evas object of minicontrol
44 Evas_Object *minicontrol_viewer_add(Evas_Object *parent, const char *svr_name);
47 * @brief Get the basic evas image object from given minicontrol object
48 * @param[in] obj minicontrol object
49 * @return basic evas image object of minicontrol object
51 Evas_Object *minicontrol_viewer_image_object_get(const Evas_Object *obj);
54 * @brief This function request various action to provider
55 * @param[in] minicontrol evas object of socket window
56 * @param[in] action type of action
57 * @return evas object of socket window
59 minicontrol_error_e minicontrol_viewer_request(const char *appid, minicontrol_request_e request, int value);
68 #endif /* _MINICTRL_VIEWER_H_ */