[4.0] Create Widget Application
[platform/core/uifw/dali-adaptor.git] / adaptors / integration-api / adaptor.h
index 1d023ad..26d24e4 100644 (file)
@@ -24,7 +24,6 @@
 #include <dali/public-api/math/rect.h>
 #include <dali/public-api/events/touch-event.h>
 #include <dali/public-api/common/view-mode.h>
-#include <dali/public-api/math/uint-16-pair.h>
 
 // INTERNAL INCLUDES
 
@@ -115,8 +114,6 @@ public:
 
   typedef Signal< void (Adaptor&) > AdaptorSignalType; ///< Generic Type for adaptor signals
 
-  typedef Uint16Pair SurfaceSize;          ///< Surface size type
-
 public:
   /**
    * @brief Create a new adaptor using the window.
@@ -232,6 +229,13 @@ public:
   Any GetNativeWindowHandle();
 
   /**
+   * @brief Gets Window handle
+   *
+   * @return Window handle
+   */
+  Window GetWindow();
+
+  /**
    * @brief Release any locks the surface may hold.
    *
    * For example, after compositing an offscreen surface, use this method to allow
@@ -340,9 +344,10 @@ public:
   void SetStereoBase( float stereoBase );
 
   /**
-   * @brief Informs core the surface size has changed
+   * @brief Renders once more even if we're paused
+   * @note Will not work if the window is hidden.
    */
-  void SurfaceSizeChanged( SurfaceSize surfaceSize );
+  void RenderOnce();
 
 public:  // Signals