tizen 2.4 release
[framework/uifw/libeom.git] / include / eom-connect.h
1 /**************************************************************************
2
3 eom (external output manager)
4
5 Copyright 2014 Samsung Electronics co., Ltd. All Rights Reserved.
6
7 Contact:
8 SooChan Lim <sc1.lim@samsung.com>
9 Boram Park <boram1288.park@samsung.com>
10 Changyeon Lee <cyeon.lee@samsung.com>
11
12 Permission is hereby granted, free of charge, to any person obtaining a
13 copy of this software and associated documentation files (the
14 "Software"), to deal in the Software without restriction, including
15 without limitation the rights to use, copy, modify, merge, publish,
16 distribute, sub license, and/or sell copies of the Software, and to
17 permit persons to whom the Software is furnished to do so, subject to
18 the following conditions:
19
20 The above copyright notice and this permission notice (including the
21 next paragraph) shall be included in all copies or substantial portions
22 of the Software.
23
24 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
27 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
28 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
29 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
30 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
32 **************************************************************************/
33
34 #ifndef __EOM_CONNECT_H__
35 #define __EOM_CONNECT_H__
36
37 /**
38  * @ingroup
39  * @addtogroup CAPI_UI_EOM_MODULE
40  * @{
41  */
42
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46
47 #include <eom.h>
48
49 /**
50  * @file eom-connect.h
51  */
52
53 /**
54  * @brief Set mode to external output.
55  * @param[in] output : The pointer of external output instance
56  * @param[in] output_id : eom output id
57  * @return #EOM_ERROR_NONE if this function succeeds, otherwise error status value
58  * @retval #EOM_ERROR_NONE Successful
59  * @retval #EOM_ERROR_INVALID_PARAMETER Invalid parameter
60  * @retval #EOM_ERROR_SEND_MESSAGE_FAILE Message sending failure
61  * @retval #EOM_ERROR_OPERATE_MESSAGE_FAILE Message operation failure
62  * see #eom_output_mode_e
63  */
64 int eom_output_set_mode(eom_output_id output_id, eom_output_mode_e mode);
65
66
67 #ifdef __cplusplus
68 }
69 #endif
70
71 /**
72 * @}
73 */
74
75 #endif /* __EOM_CONNECT_H__ */