[dali_2.3.42] Merge branch 'devel/master'
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / offscreen-window.cpp
index 42cc8eb..548d5f7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -51,6 +51,10 @@ OffscreenWindow::OffscreenWindow(const OffscreenWindow& window) = default;
 
 OffscreenWindow& OffscreenWindow::operator=(const OffscreenWindow& window) = default;
 
+OffscreenWindow::OffscreenWindow(OffscreenWindow&& window) = default;
+
+OffscreenWindow& OffscreenWindow::operator=(OffscreenWindow&& window) = default;
+
 OffscreenWindow::~OffscreenWindow() = default;
 
 void OffscreenWindow::Add(Actor actor)
@@ -108,6 +112,11 @@ void OffscreenWindow::SetPostRenderCallback(CallbackBase* callback)
   Internal::GetImplementation(*this).SetPostRenderCallback(callback);
 }
 
+void OffscreenWindow::SetFrameRenderedCallback(CallbackBase* callback)
+{
+  Internal::GetImplementation(*this).SetFrameRenderedCallback(callback);
+}
+
 OffscreenWindow::OffscreenWindow(Internal::OffscreenWindow* window)
 : BaseHandle(window)
 {