#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.
*
*/
-#include <dali/integration-api/adaptors/render-surface-interface.h>
+#include <dali/integration-api/adaptor-framework/render-surface-interface.h>
namespace Dali
{
class DisplayConnection;
class ThreadSynchronizationInterface;
class Window;
+class TestApplication;
namespace Integration
{
{
class GraphicsInterface;
+class SceneHolder;
} // namespace Adaptor
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();
private:
Vector<CallbackBase*> mCallbacks;
- Dali::WindowContainer mWindows;
+ std::vector<Internal::Adaptor::SceneHolder*> mWindows;
Dali::Adaptor::AdaptorSignalType mResizedSignal;
Dali::Adaptor::AdaptorSignalType mLanguageChangedSignal;
Dali::Adaptor::WindowCreatedSignalType mWindowCreatedSignal;
+ TestApplication* mTestApplication;
};
} // namespace Adaptor