[dali_1.4.9] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / toolkit-adaptor-impl.h
1 #ifndef __DALI_TOOLKIT_ADAPTOR_IMPL_H__
2 #define __DALI_TOOLKIT_ADAPTOR_IMPL_H__
3
4 /*
5  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 #include <dali/integration-api/adaptors/render-surface-interface.h>
22
23 namespace Dali
24 {
25 class EglInterface;
26 class DisplayConnection;
27 class ThreadSynchronizationInterface;
28
29 namespace Internal
30 {
31
32 namespace Adaptor
33 {
34
35 class GraphicsInterface;
36
37 } // namespace Adaptor
38
39 } // namespace Internal
40
41 namespace Integration
42 {
43
44 class GlAbstraction;
45
46 } // namespace Integration
47
48 namespace Internal
49 {
50 namespace Adaptor
51 {
52
53 class Adaptor: public BaseObject
54 {
55 public:
56   static Dali::Adaptor& Get();
57   Adaptor();
58   ~Adaptor();
59
60 public:
61   static Dali::RenderSurfaceInterface& GetSurface();
62   static Dali::Adaptor::AdaptorSignalType& AdaptorSignal();
63   static bool mAvailable;
64   static Vector<CallbackBase*> mCallbacks;
65 };
66
67 } // namespace Adaptor
68 } // namespace Internal
69 } // namespace Dali
70
71 #endif // __DALI_TOOLKIT_ADAPTOR_IMPL_H__