Dali::Accessibility::Bridge::DisableAutoInit();
// Now we assume separated main loop for the offscreen application
- mFramework = Internal::Adaptor::GetFrameworkFactory()->CreateFramework(Internal::Adaptor::FrameworkBackend::GLIB, *this, *this, nullptr, nullptr, Adaptor::Framework::NORMAL, false);
+ mFrameworkFactory = std::unique_ptr<Adaptor::FrameworkFactory>(Dali::Internal::Adaptor::CreateFrameworkFactory());
+ mFramework = mFrameworkFactory->CreateFramework(Internal::Adaptor::FrameworkBackend::GLIB, *this, *this, nullptr, nullptr, Adaptor::Framework::NORMAL, false);
// Generate a default window
IntrusivePtr<Internal::OffscreenWindow> impl = Internal::OffscreenWindow::New(width, height, surface, isTranslucent);
namespace Internal
{
+namespace Adaptor
+{
+class FrameworkFactory;
+} // namespace Adaptor
+
/**
* Implementation of the OffscreenApplication class.
*/
std::unique_ptr<Dali::Adaptor> mAdaptor;
Dali::OffscreenWindow mDefaultWindow;
- std::unique_ptr<Internal::Adaptor::Framework> mFramework;
+ std::unique_ptr<Internal::Adaptor::Framework> mFramework;
+ std::unique_ptr<Internal::Adaptor::FrameworkFactory> mFrameworkFactory;
OffscreenApplicationSignalType mInitSignal;
OffscreenApplicationSignalType mTerminateSignal;