[Tizen] Add OffscreenApplication
[platform/core/uifw/dali-adaptor.git] / dali / internal / offscreen / tizen / offscreen-window-impl-tizen.h
index ac245d0..076b09d 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>
-
 // INTERNAL INCLUDES
 #include <dali/internal/offscreen/common/offscreen-window-impl.h>
 
@@ -62,19 +55,21 @@ public:
   WindowSize GetSize() const;
 
   /**
-   * @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
    */
   Dali::Any GetNativeHandle() const override;
 
   /*
    * @brief Initialize the OffscreenWindow
-   * @param[in] offscreenApplication The OffscreenApplication instance to be used to intialize the new window
    * @param[in] isDefaultWindow Whether the OffscreenWindow is a default one or not
    */
-  void Initialize( OffscreenApplication* offscreenApplication, bool isDefaultWindow );
+  void Initialize( bool isDefaultWindow );
 
+public:  // Signals
+
+  /**
+   * @copydoc Dali::OffscreenWindow::PostRenderSignal
+   */
   OffscreenWindow::PostRenderSignalType& PostRenderSignal();
 
 private:
@@ -110,11 +105,6 @@ private:
   OffscreenWindowTizen( const OffscreenWindowTizen& );
   OffscreenWindowTizen& operator=( OffscreenWindowTizen& );
 
-  /**
-   * This is for initialization of this OffscreenWindow in case it is created before adaptor is running.
-   */
-  void OnPreInitOffscreenApplication();
-
   /*
    * @brief Initialize the OffscreenWindow (for internal use)
    */
@@ -122,7 +112,6 @@ private:
 
 private:
 
-  Dali::Adaptor*                            mAdaptor;
   std::unique_ptr< TriggerEventInterface >  mRenderNotification;
   PostRenderSignalType                      mPostRenderSignal;
   bool                                      mIsTranslucent;