1 #ifndef DALI_INTERNAL_WIN_DIPLAY_CONNECTION_H
\r
2 #define DALI_INTERNAL_WIN_DIPLAY_CONNECTION_H
\r
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
21 // INTERNAL INCLUDES
\r
22 #include <dali/internal/window-system/common/display-connection-impl.h>
\r
23 #include <dali/public-api/object/base-object.h>
\r
24 #include <dali/internal/graphics/gles20/egl-implementation.h>
\r
29 class RenderSurface;
\r
30 class DisplayConnection;
\r
39 * DisplayConnection implementation
\r
41 class DisplayConnectionWin : public Dali::Internal::Adaptor::DisplayConnection
\r
46 * @brief Default constructor
\r
48 DisplayConnectionWin();
\r
51 * @brief Create an initialized DisplayConnection.
\r
53 * @return A handle to a newly allocated DisplayConnection resource.
\r
55 static DisplayConnection* New();
\r
60 * @copydoc Dali::DisplayConnection::GetDisplay
\r
65 * @copydoc Dali::DisplayConnection::ConsumeEvents
\r
67 void ConsumeEvents();
\r
70 * @copydoc Dali::DisplayConnection::InitializeEgl
\r
72 bool InitializeEgl(EglInterface& egl);
\r
74 void SetSurfaceType( RenderSurface::Type type );
\r
81 virtual ~DisplayConnectionWin();
\r
86 DisplayConnectionWin(const DisplayConnectionWin&) = delete;
\r
89 DisplayConnectionWin& operator=(const DisplayConnectionWin& rhs) = delete;
\r
95 } // namespace Adaptor
\r
97 } // namespace internal
\r
101 #endif // DALI_INTERNAL_WIN_DIPLAY_CONNECTION_H
\r