/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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/devel-api/adaptor-framework/application-devel.h>
#include <dali/internal/adaptor/common/application-impl.h>
+#ifdef DALI_ADAPTOR_COMPILATION
+#include <dali/integration-api/scene-holder.h>
+#else
+#include <dali/integration-api/adaptors/scene-holder.h>
+#endif
+
namespace Dali
{
return Internal::Adaptor::GetImplementation( application ).AddIdle( callback, true );
}
-Dali::Window CreateWindow( Application application, PositionSize childPosSize, const std::string& childWindowName, const std::string& childWindowClassName, bool childWindowMode )
-{
- auto& adaptor = Internal::Adaptor::GetImplementation( application ).GetAdaptor();
-
- Dali::Window childWindow = Dali::Window::New( childPosSize, childWindowName, childWindowClassName, childWindowMode );
- Internal::Adaptor::Adaptor::GetImplementation( adaptor ).AddWindow( &childWindow, childWindowName, childWindowClassName, childWindowMode );
- return childWindow;
-}
-
-bool DestroyWindow( Application application, Dali::Window* childWindow )
-{
- auto& adaptor = Internal::Adaptor::GetImplementation( application ).GetAdaptor();
-
- return Internal::Adaptor::Adaptor::GetImplementation( adaptor ).RemoveWindow( childWindow );
-}
-
-bool DestroyWindow( Application application, const std::string& childWindowName )
-{
- auto& adaptor = Internal::Adaptor::GetImplementation( application ).GetAdaptor();
-
- return Internal::Adaptor::Adaptor::GetImplementation( adaptor ).RemoveWindow( childWindowName );
-}
-
std::string GetDataPath()
{
return Internal::Adaptor::Application::GetDataPath();