Use WindowData in the constructors of Application and Window
[platform/core/uifw/dali-adaptor.git] / dali / internal / adaptor / tizen-wayland / tizen-wearable / watch-application-impl.h
index dbae797..6079d64 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_WATCH_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.
@@ -56,18 +56,18 @@ 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 Dali::Watch::WINDOW_MODE
+   * @param[in]  windowData  The window data
    */
-  static WatchApplicationPtr New(int* argc, char** argv[], const std::string& stylesheet, WINDOW_MODE windowMode);
+  static WatchApplicationPtr New(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData);
 
   /**
    * Private Constructor
    * @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 Dali::Watch::WINDOW_MODE
+   * @param[in]  windowData  The window data
    */
-  WatchApplication(int* argc, char** argv[], const std::string& stylesheet, WINDOW_MODE windowMode);
+  WatchApplication(int* argc, char** argv[], const std::string& stylesheet, const WindowData& windowData);
 
   /**
    * Destructor