Revert "[Tizen] Add screen and client rotation itself function"
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / windows / window-base-win.h
index 9fdd599..c0a17dc 100755 (executable)
@@ -187,14 +187,14 @@ public:
   virtual void Activate() override;
 
   /**
-   * @copydoc Dali::Internal::Adaptor::WindowBase::SetAvailableOrientations()
+   * @copydoc Dali::Internal::Adaptor::WindowBase::SetAvailableAnlges()
    */
-  virtual void SetAvailableOrientations( const std::vector< Dali::Window::WindowOrientation >& orientations ) override;
+  virtual void SetAvailableAnlges( const std::vector< int >& angles ) override;
 
   /**
-   * @copydoc Dali::Internal::Adaptor::WindowBase::SetPreferredOrientation()
+   * @copydoc Dali::Internal::Adaptor::WindowBase::SetPreferredAngle()
    */
-  virtual void SetPreferredOrientation( Dali::Window::WindowOrientation orientation ) override;
+  virtual void SetPreferredAngle( int angle ) override;
 
   /**
    * @copydoc Dali::Internal::Adaptor::WindowBase::SetAcceptFocus()
@@ -327,11 +327,6 @@ public:
   virtual void SetWindowRotationAngle( int degree ) override;
 
   /**
-   * @copydoc Dali::Internal::Adaptor::WindowBase::GetWindowRotationAngle()
-   */
-  virtual void GetWindowRotationAngle() override;
-
-  /**
    * @copydoc Dali::Internal::Adaptor::WindowBase::WindowRotationCompleted()
    */
   virtual void WindowRotationCompleted( int degree, int width, int height ) override;
@@ -342,12 +337,6 @@ public:
   virtual void SetTransparency( bool transparent ) override;
 
   /**
-   * @brief Return the orientation of the surface.
-   * @return The orientation
-   */
-  virtual int GetOrientation() const override;
-
-  /**
    * @copydoc Dali::Internal::Adaptor::WindowBase::SetParent()
    */
   virtual void SetParent( WindowBase* parentWinBase ) override;
@@ -371,6 +360,11 @@ private:
    */
   void CreateWinWindow( PositionSize positionSize, bool isTransparent );
 
+  /**
+   * @brief Sets up an already created window.
+   */
+  void SetWinWindow( unsigned int surfaceId );
+
 private:
 
   // Undefined
@@ -387,6 +381,8 @@ private:
   bool                                 mOwnSurface:1;       ///< Whether we own the surface (responsible for deleting it)
   bool                                 mIsTransparent:1;    ///< Whether the window is transparent (32 bit or 24 bit)
   bool                                 mRotationAppSet:1;
+
+  WindowsPlatformImplementation::WindowImpl mWindowImpl;
 };
 
 } // namespace Adaptor