X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-adaptor-impl.h;h=4970dc457707f890f4d6f526949d1a7b2a80e86a;hb=d6e2f99851ab626fdb78e426498ff9ada6d298b8;hp=dd7f469256f45b84126253c7cfd7e82643745942;hpb=f3e8b0bf4eba4e2f76294c2ed3d83a4cc9ca4613;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor-impl.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor-impl.h index dd7f469..4970dc4 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor-impl.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_ADAPTOR_IMPL_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ * */ -#include +#include namespace Dali { @@ -26,6 +26,7 @@ class EglInterface; class DisplayConnection; class ThreadSynchronizationInterface; class Window; +class TestApplication; namespace Integration { @@ -41,6 +42,7 @@ namespace Adaptor { class GraphicsInterface; +class SceneHolder; } // namespace Adaptor @@ -76,6 +78,16 @@ public: Dali::RenderSurfaceInterface& GetSurface(); Dali::WindowContainer GetWindows(); + Dali::SceneHolderList GetSceneHolders(); + + Dali::Internal::Adaptor::SceneHolder* GetWindow( Dali::Actor& actor ); + void AddWindow( Internal::Adaptor::SceneHolder* window ); + void RemoveWindow( Internal::Adaptor::SceneHolder* window ); + + void RegisterProcessor( Integration::Processor& processor, bool postProcessor = false); + void UnregisterProcessor( Integration::Processor& processor, bool postProcessor = false); + + void SetApplication( Dali::TestApplication& testApplication ); Dali::Adaptor::AdaptorSignalType& ResizedSignal(); Dali::Adaptor::AdaptorSignalType& LanguageChangedSignal(); @@ -87,10 +99,11 @@ public: private: Vector mCallbacks; - Dali::WindowContainer mWindows; + std::vector mWindows; Dali::Adaptor::AdaptorSignalType mResizedSignal; Dali::Adaptor::AdaptorSignalType mLanguageChangedSignal; Dali::Adaptor::WindowCreatedSignalType mWindowCreatedSignal; + TestApplication* mTestApplication; }; } // namespace Adaptor