2aa8865f617699c83fe0639c59ed4cc31daba864
[apps/home/minicontrol.git] / include / minicontrol-provider.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
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
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_PROVIDER_H_
18 #define _MINICTRL_PROVIDER_H_
19
20 #include <Evas.h>
21 #include "minicontrol-error.h"
22 #include "minicontrol-type.h"
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /**
29  * @defgroup MINICONTROL_PROVIDER_LIBRARY minicontrol provider library
30  * @brief This minicontrol provider library used to create evas socket window
31  */
32
33 /**
34  * @addtogroup MINICONTROL_PROVIDER_LIBRARY
35  * @{
36  */
37
38 /**
39  * @brief This function create evas socket window
40  * @param[in] name name of socket window
41  * @return evas object of socket window
42  */
43 Evas_Object *minicontrol_win_add(const char *name);
44
45 /**
46  * @brief This function request various action to viewer
47  * @param[in] minicontrol evas object of socket window
48  * @param[in] action type of action
49  * @return evas object of socket window
50  */
51 minicontrol_error_e minicontrol_request(Evas_Object *mincontrol, minicontrol_request_e request);
52
53 #ifdef __cplusplus
54 }
55 #endif
56 #endif /* _MINICTRL_PROVIDER_H_ */
57