Use WindowData in the constructors of Application and Window
[platform/core/uifw/dali-adaptor.git] / dali / internal / system / common / widget-application-impl.h
index 32079ca..3e0274a 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_WIDGET_APPLICATION_IMPL_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.
@@ -48,8 +48,9 @@ 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]  windowData   The window data
    */
-  static WidgetApplicationPtr New(int* argc, char** argv[], const std::string& stylesheet);
+  static WidgetApplicationPtr New(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData);
 
 public:
   /**
@@ -64,7 +65,7 @@ protected:
    * @param[in]  argv         A pointer to the argument list
    * @param[in]  stylesheet   The path to user defined theme file
    */
-  WidgetApplication(int* argc, char** argv[], const std::string& stylesheet);
+  WidgetApplication(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData);
 
   /**
    * Destructor