summaryrefslogtreecommitdiff
path: root/include/minicontrol-provider.h
blob: 2aa8865f617699c83fe0639c59ed4cc31daba864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * Copyright 2012  Samsung Electronics Co., Ltd
 *
 * Licensed under the Flora License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://floralicense.org/license/
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef _MINICTRL_PROVIDER_H_
#define _MINICTRL_PROVIDER_H_

#include <Evas.h>
#include "minicontrol-error.h"
#include "minicontrol-type.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @defgroup MINICONTROL_PROVIDER_LIBRARY minicontrol provider library
 * @brief This minicontrol provider library used to create evas socket window
 */

/**
 * @addtogroup MINICONTROL_PROVIDER_LIBRARY
 * @{
 */

/**
 * @brief This function create evas socket window
 * @param[in] name name of socket window
 * @return evas object of socket window
 */
Evas_Object *minicontrol_win_add(const char *name);

/**
 * @brief This function request various action to viewer
 * @param[in] minicontrol evas object of socket window
 * @param[in] action type of action
 * @return evas object of socket window
 */
minicontrol_error_e minicontrol_request(Evas_Object *mincontrol, minicontrol_request_e request);

#ifdef __cplusplus
}
#endif
#endif /* _MINICTRL_PROVIDER_H_ */