Revert "[Tizen] remove GetNativeWindowHandler() in devel window" 37/134837/1
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 20 Jun 2017 06:55:54 +0000 (15:55 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 20 Jun 2017 06:56:02 +0000 (15:56 +0900)
This reverts commit 49a3b1f2bfb00e20f162663384ab8b12e69d8a20.

Change-Id: Iaedb9184713dc38997f0153ff84746625cf269f2

adaptors/common/window-impl.h [changed mode: 0644->0755]
adaptors/devel-api/adaptor-framework/window-devel.cpp [changed mode: 0644->0755]
adaptors/devel-api/adaptor-framework/window-devel.h [changed mode: 0644->0755]
adaptors/ecore/wayland/window-impl-ecore-wl.cpp [changed mode: 0644->0755]
adaptors/wayland/window-impl-wl.cpp [changed mode: 0644->0755]
adaptors/x11/window-impl-x.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 09a7541..d7442b3
@@ -417,6 +417,10 @@ private:
   IndicatorSignalType mIndicatorVisibilityChangedSignal;
   FocusSignalType     mFocusChangedSignal;
   SignalType          mDeleteRequestSignal;
+
+public:
+
+  void* GetNativeWindowHandler();
 };
 
 } // namespace Adaptor
old mode 100644 (file)
new mode 100755 (executable)
index b6f977c..eb830fd
@@ -145,6 +145,11 @@ int GetBrightness( Window window )
   return GetImplementation( window ).GetBrightness();
 }
 
+void * GetNativeWindowHandler( Window window )
+{
+  return GetImplementation( window ).GetNativeWindowHandler();
+}
+
 } // namespace DevelWindow
 
 } // namespace Dali
old mode 100644 (file)
new mode 100755 (executable)
index 6d07c71..c8a4a26
@@ -293,6 +293,13 @@ DALI_IMPORT_API bool SetBrightness( Window window, int brightness );
  */
 DALI_IMPORT_API int GetBrightness( Window window );
 
+/**
+ * @brief Returns native Ecore Wayland Window handle only for c# binding
+ * @param[in] window The window where Ecore Wayland window handle is extracted
+ * @return void * of native Ecore Wayland Window
+ */
+DALI_IMPORT_API void * GetNativeWindowHandler( Window window );
+
 } // namespace DevelWindow
 
 } // namespace Dali
old mode 100644 (file)
new mode 100755 (executable)
index d0dbdb7..f300e77
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+* Copyright (c) 2017 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.
@@ -1410,6 +1410,11 @@ int Window::GetBrightness()
   return mEventHandler->mBrightness;
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return mEventHandler->mEcoreWindow;
+}
+
 } // Adaptor
 
 } // Internal
old mode 100644 (file)
new mode 100755 (executable)
index 631681f..da26daf
@@ -309,7 +309,6 @@ bool Window::IsVisible() const
   return mVisible;
 }
 
-
 void Window::RotationDone( int orientation, int width, int height )
 {
 }
@@ -403,6 +402,11 @@ int Window::GetBrightness()
   return 0;
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return NULL;
+}
+
 } // Adaptor
 } // Internal
 } // Dali
old mode 100644 (file)
new mode 100755 (executable)
index 710d9fb..c8ce7a6
@@ -907,6 +907,11 @@ int Window::GetBrightness()
   return 0;
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return &(mEventHandler->mEcoreWindow);
+}
+
 } // Adaptor
 
 } // Internal