/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
namespace Adaptor
{
ComponentApplicationPtr ComponentApplication::New(
- int* argc,
- char** argv[],
- const std::string& stylesheet,
- Dali::Application::WINDOW_MODE windowMode)
+ int* argc,
+ char** argv[],
+ const std::string& stylesheet,
+ const WindowData& windowData)
{
- ComponentApplicationPtr application(new ComponentApplication(argc, argv, stylesheet, windowMode));
+ ComponentApplicationPtr application(new ComponentApplication(argc, argv, stylesheet, windowData));
return application;
}
-ComponentApplication::ComponentApplication(int* argc, char** argv[], const std::string& stylesheet, Dali::Application::WINDOW_MODE windowMode)
-: Application(argc, argv, stylesheet, windowMode, PositionSize(), Framework::COMPONENT, WindowType::NORMAL, false)
+ComponentApplication::ComponentApplication(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData)
+: Application(argc, argv, stylesheet, Framework::COMPONENT, false, windowData)
{
}