From: Dongsug Song Date: Thu, 16 Apr 2020 11:39:32 +0000 (+0900) Subject: Add GetNativeId() in Window X-Git-Tag: dali_1.9.13~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F230999%2F4;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Add GetNativeId() in Window Change-Id: I9724842abf0f84f0633a19bb173993357081feee --- diff --git a/dali/devel-api/adaptor-framework/window-devel.cpp b/dali/devel-api/adaptor-framework/window-devel.cpp old mode 100644 new mode 100755 index e2f503e..b9fadbb --- a/dali/devel-api/adaptor-framework/window-devel.cpp +++ b/dali/devel-api/adaptor-framework/window-devel.cpp @@ -143,6 +143,11 @@ void SetAvailableOrientations( Window window, const Dali::Vector& orientations ); +/** + * @brief Gets current window ID. + * + * @param[in] window The window instance + */ +DALI_ADAPTOR_API int32_t GetNativeId( Window window ); + } // namespace DevelWindow } // namespace Dali diff --git a/dali/internal/window-system/common/window-impl.cpp b/dali/internal/window-system/common/window-impl.cpp old mode 100644 new mode 100755 index a0fd809..69ba1d9 --- a/dali/internal/window-system/common/window-impl.cpp +++ b/dali/internal/window-system/common/window-impl.cpp @@ -917,6 +917,11 @@ void Window::SetAvailableOrientations( const Dali::VectorGetNativeWindowId(); +} + } // Adaptor } // Internal diff --git a/dali/internal/window-system/common/window-impl.h b/dali/internal/window-system/common/window-impl.h old mode 100644 new mode 100755 index 0d4a4e1..ca1d3bf --- a/dali/internal/window-system/common/window-impl.h +++ b/dali/internal/window-system/common/window-impl.h @@ -371,6 +371,11 @@ public: // Dali::Internal::Adaptor::SceneHolder */ bool IsVisible() const override; + /** + * @copydoc Dali::DevelWindow::GetNativeId() + */ + int32_t GetNativeId() const; + private: /**