Supports IME window for Tizen keyboard application.
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / macos / window-base-mac.mm
index b98f8a6..6a93269 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
@@ -535,9 +535,14 @@ void WindowBaseCocoa::SetType( Dali::WindowType type )
 {
 }
 
-bool WindowBaseCocoa::SetNotificationLevel( WindowNotificationLevel level )
+Dali::WindowType WindowBaseCocoa::GetType() const
 {
-  return false;
+  return Dali::WindowType::NORMAL;
+}
+
+WindowOperationResult WindowBaseCocoa::SetNotificationLevel( WindowNotificationLevel level )
+{
+  return WindowOperationResult::NOT_SUPPORTED;
 }
 
 WindowNotificationLevel WindowBaseCocoa::GetNotificationLevel() const
@@ -549,9 +554,9 @@ void WindowBaseCocoa::SetOpaqueState( bool opaque )
 {
 }
 
-bool WindowBaseCocoa::SetScreenOffMode(WindowScreenOffMode screenOffMode)
+WindowOperationResult WindowBaseCocoa::SetScreenOffMode(WindowScreenOffMode screenOffMode)
 {
-  return false;
+  return WindowOperationResult::NOT_SUPPORTED;
 }
 
 WindowScreenOffMode WindowBaseCocoa::GetScreenOffMode() const
@@ -559,9 +564,9 @@ WindowScreenOffMode WindowBaseCocoa::GetScreenOffMode() const
   return WindowScreenOffMode::TIMEOUT;
 }
 
-bool WindowBaseCocoa::SetBrightness( int brightness )
+WindowOperationResult WindowBaseCocoa::SetBrightness( int brightness )
 {
-  return false;
+  return WindowOperationResult::NOT_SUPPORTED;
 }
 
 int WindowBaseCocoa::GetBrightness() const
@@ -646,6 +651,18 @@ int WindowBaseCocoa::CreateFramePresentedSyncFence()
   return -1;
 }
 
+void WindowBaseCocoa::SetPositionSizeWithAngle(PositionSize positionSize, int angle)
+{
+}
+
+void WindowBaseCocoa::InitializeIme()
+{
+}
+
+void WindowBaseCocoa::ImeWindowReadyToRender()
+{
+}
+
 } // namespace Dali::Internal::Adaptor
 
 @implementation CocoaView