- Internal::Adaptor::Window* windowImpl = nullptr;
- if ( Dali::Adaptor::IsAvailable() )
- {
- windowImpl = dynamic_cast<Dali::Internal::Adaptor::Window*>( handle.GetObjectPtr());
- }
- return Dali::Window( windowImpl );
+ GetImplementation(window).SetPositionSize(positionSize);
+}
+
+int GetPhysicalOrientation(Window window)
+{
+ return GetImplementation(window).mRotationAngle;
+}
+
+void AddFrameRenderedCallback(Window window, std::unique_ptr<CallbackBase> callback, int32_t frameId)
+{
+ CallbackBase::Execute(*callback, frameId);
+}
+
+void AddFramePresentedCallback(Window window, std::unique_ptr<CallbackBase> callback, int32_t frameId)
+{
+ CallbackBase::Execute(*callback, frameId);
+}
+
+EventProcessingFinishedSignalType& EventProcessingFinishedSignal(Window window)
+{
+ return GetImplementation(window).GetScene().EventProcessingFinishedSignal();