Use WindowData in the constructors of Application and Window
[platform/core/uifw/dali-adaptor.git] / dali / internal / adaptor / tizen-wayland / component-application-impl.h
index b84104b..10b7fb0 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_COMPONENT_APPLICATION_H
 
 /*
- * 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.
@@ -47,15 +47,15 @@ public:
    * @param[in]  argc         A pointer to the number of arguments
    * @param[in]  argv         A pointer to the argument list
    * @param[in]  stylesheet   The path to user defined theme file
-   * @param[in]  windowMode   A member of WINDOW_MODE
+   * @param[in]  windowData   The window data
    * @return A handle to the ComponentApplication
    */
-  static ComponentApplicationPtr New(int* argc, char** argv[], const std::string& stylesheet, WINDOW_MODE windowMode);
+  static ComponentApplicationPtr New(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData);
 
   /**
    * @brief The default constructor.
    */
-  ComponentApplication(int* argc, char** argv[], const std::string& stylesheet, WINDOW_MODE windowMode);
+  ComponentApplication(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData);
 
   /**
    * @brief Undefined copy constructor.