[Tizen] Add OffscreenApplication
[platform/core/uifw/dali-adaptor.git] / dali / internal / offscreen / common / offscreen-window-impl.h
index ba084a8..43b623d 100644 (file)
 
 // EXTERNAL INCLUDES
 #include <memory>
-
 #include <dali/integration-api/adaptor-framework/scene-holder-impl.h>
 #include <dali/public-api/common/intrusive-ptr.h>
 #include <dali/public-api/signals/connection-tracker.h>
-#include <dali/integration-api/adaptor-framework/trigger-event-interface.h>
 
 // INTERNAL INCLUDES
 #include <dali/devel-api/adaptor-framework/offscreen-window.h>
@@ -34,7 +32,6 @@ namespace Dali
 class Adaptor;
 class Layer;
 class NativeRenderSurface;
-class TriggerEventInterface;
 
 namespace Internal
 {
@@ -46,10 +43,8 @@ class OffscreenWindow : public Dali::Internal::Adaptor::SceneHolder,
                        public ConnectionTracker
 {
 public:
-  typedef Dali::OffscreenWindow::WindowSize WindowSize;
-
-  typedef Dali::OffscreenWindow::PostRenderSignalType PostRenderSignalType;
-
+  using WindowSize =  Dali::OffscreenWindow::WindowSize;
+  using PostRenderSignalType = Dali::OffscreenWindow::PostRenderSignalType;
 
   /**
    * @brief Create a new OffscreenWindow
@@ -86,20 +81,22 @@ public:
   virtual WindowSize GetSize() const= 0;
 
   /**
-   * @brief Gets the native handle.
-   * @note When users call this function, it wraps the actual type used by the underlying system.
-   * @return The native handle or an empty handle
+   * @copydoc Dali::OffscreenWindow::GetNativeHandle
    */
-  virtual Dali::Any GetNativeHandle() const override = 0;
-
-  virtual PostRenderSignalType& PostRenderSignal() = 0;
+  virtual Any GetNativeHandle() const override = 0;
 
   /*
    * @brief Initialize the OffscreenWindow
-   * @param[in] offscreenApplication The OffscreenApplication instance to be used to intialize the new OffscreenWindow
    * @param[in] isDefaultWindow Whether the OffscreenWindow is a default one or not
    */
-  virtual void Initialize( OffscreenApplication* offscreenApplication, bool isDefaultWindow ) = 0;
+  virtual void Initialize( bool isDefaultWindow ) = 0;
+
+public:  // Signals
+
+  /**
+   * @copydoc Dali::OffscreenWindow::PostRenderSignal
+   */
+  virtual PostRenderSignalType& PostRenderSignal() = 0;
 
 private:
   /**