Initialize Tizen 2.3
[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://www.tizenopensource.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 /**
30  * @file minicontrol-provider.h
31  * @brief This minicontrol provider library used to create evas socket window
32  */
33
34 /**
35  * @addtogroup MINICONTROL_PROVIDER_MODULE
36  * @{
37  */
38
39 /**
40  * @brief This function create evas socket window
41  * @param[in] name name of socket window
42  * @return evas object of socket window
43  */
44 Evas_Object *minicontrol_win_add(const char *name);
45
46 /**
47  * @brief This function request various action to viewer
48  * @param[in] minicontrol evas object of socket window
49  * @param[in] action type of action
50  * @return evas object of socket window
51  */
52 minicontrol_error_e minicontrol_request(Evas_Object *mincontrol, minicontrol_request_e request);
53
54 /**
55  * @}
56  */
57
58 #ifdef __cplusplus
59 }
60 #endif
61 #endif /* _MINICTRL_PROVIDER_H_ */
62