[4.0] Create Widget Application
[platform/core/uifw/dali-adaptor.git] / adaptors / integration-api / adaptor.h
index 93fbd7b..26d24e4 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_INTEGRATION_ADAPTOR_H__
 
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,7 +27,6 @@
 
 // INTERNAL INCLUDES
 
-
 #ifdef DALI_ADAPTOR_COMPILATION  // full path doesn't exist until adaptor is installed so we have to use relative
 // @todo Make dali-adaptor code folder structure mirror the folder structure installed to dali-env
 #include <window.h>
@@ -230,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
@@ -338,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( const PositionSize& positionSize );
+  void RenderOnce();
 
 public:  // Signals