Tizen 2.1 base
[framework/osp/uifw.git] / src / ui / inc / FUi_EcoreEvasMgr.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://floralicense.org/license/
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 /**
18  * @file                FUi_EcoreEvasMgr.h
19  * @brief               This is the header file for the _EcoreEvasMgr class.
20  *
21  * This header file contains the declarations of the %_EcoreEvasMgr class.
22  */
23 #ifndef _FUI_INTERNAL_ECORE_EVAS_MGR_H_
24 #define _FUI_INTERNAL_ECORE_EVAS_MGR_H_
25
26 #include <FBaseErrorDefine.h>
27 #include <FBaseObject.h>
28
29 namespace Tizen { namespace Ui
30 {
31 class _EcoreEvas;
32
33 class _OSP_EXPORT_ _EcoreEvasMgr
34         : public Tizen::Base::Object
35 {
36 public:
37         _EcoreEvasMgr(void);
38
39         virtual ~_EcoreEvasMgr(void);
40
41         void SetEcoreEvas(const _EcoreEvas& ecoreEvas);
42         _EcoreEvas* GetEcoreEvas(void) const;
43
44         void BeginMainLoop(void);
45         void EndMainLoop(void);
46
47         void SetRenderBackend(int backend);
48         int GetRenderBackend(void);
49
50 private:
51         _EcoreEvasMgr(const _EcoreEvasMgr& rhs);
52         _EcoreEvasMgr& operator =(const _EcoreEvasMgr& rhs);
53
54 private:
55         const _EcoreEvas* __pEcoreEvas;
56 }; // _EcoreEvasMgr
57
58 _OSP_EXPORT_ void DestroyEcoreEvasMgr(void);
59 _OSP_EXPORT_ _EcoreEvasMgr* GetEcoreEvasMgr(void);
60
61 }} // Tizen::Ui
62
63 #endif // _FUI_INTERNAL_ECORE_EVAS_MGR_H_