[4.0] Enhance application device signal
[platform/core/uifw/dali-adaptor.git] / adaptors / ecore / wayland / display-connection-impl.h
index b9134d1..fc647cc 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __DALI_INTERNAL_ECORE_X_DIPLAY_CONNECTION_H__
-#define __DALI_INTERNAL_ECORE_X_DIPLAY_CONNECTION_H__
+#ifndef __DALI_INTERNAL_ECORE_WAYLAND_DIPLAY_CONNECTION_H__
+#define __DALI_INTERNAL_ECORE_WAYLAND_DIPLAY_CONNECTION_H__
 
 /*
  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
@@ -81,6 +81,11 @@ public:
    */
   bool InitializeEgl(EglInterface& egl);
 
+  /**
+   * @brief Sets surface type
+   */
+  void SetSurfaceType( RenderSurface::Type type );
+
 public:
 
   /**
@@ -90,6 +95,16 @@ public:
 
 protected:
 
+  /**
+   * @brief Gets display connection for native surface
+   */
+  EGLNativeDisplayType GetNativeDisplay();
+
+  /**
+   * @brief Release display connection for native surface
+   */
+  void ReleaseNativeDisplay();
+
   // Undefined
   DisplayConnection(const DisplayConnection&);
 
@@ -97,7 +112,8 @@ protected:
   DisplayConnection& operator=(const DisplayConnection& rhs);
 
 private:
-  WlDisplay*   mDisplay;        ///< Wayland-display for rendering
+  EGLNativeDisplayType mDisplay;        ///< Wayland-display for rendering
+  RenderSurface::Type mSurfaceType;
 };
 
 } // namespace Adaptor