/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
// INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/application-devel.h>
+#include <dali/integration-api/adaptor-framework/scene-holder.h>
#include <dali/internal/adaptor/common/application-impl.h>
namespace Dali
{
-
namespace DevelApplication
{
+bool AddIdleWithReturnValue(Application application, CallbackBase* callback)
+{
+ return Internal::Adaptor::GetImplementation(application).AddIdle(callback, true);
+}
-void PreInitialize( int* argc, char** argv[] )
+std::string GetDataPath()
{
- Internal::Adaptor::Application::PreInitialize( argc, argv );
+ return Internal::Adaptor::Application::GetDataPath();
+}
+
+Application DownCast(Dali::RefObject* refObject)
+{
+ return Application(dynamic_cast<Dali::Internal::Adaptor::Application*>(refObject));
}
} // namespace DevelApplication
} // namespace Dali
+
+extern "C" void ApplicationPreInitialize(int* argc, char** argv[])
+{
+ Dali::Internal::Adaptor::Application::PreInitialize(argc, argv);
+}