[Tizen] keygrab & ecore-wl-window-handle c# binding 95/126795/1
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Tue, 25 Apr 2017 05:26:22 +0000 (14:26 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Tue, 25 Apr 2017 05:26:36 +0000 (14:26 +0900)
This reverts commit 5ba26c8f5365b5ded0526f0e2079ea7bd0220c34.

Change-Id: I38938b107b1251603d3c955705f13f9dc88bd748

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 0cf251b..13a2349
@@ -328,6 +328,10 @@ private:
   IndicatorSignalType mIndicatorVisibilityChangedSignal;
   FocusSignalType     mFocusChangedSignal;
   SignalType          mDeleteRequestSignal;
+
+public:
+
+  void* GetNativeWindowHandler();
 };
 
 } // namespace Adaptor
old mode 100644 (file)
new mode 100755 (executable)
index 70ad18e..30c3d0a
@@ -55,6 +55,11 @@ bool IsVisible( Window window )
   return GetImplementation( window ).IsVisible();
 }
 
+void * GetNativeWindowHandler( Window window )
+{
+  return GetImplementation( window ).GetNativeWindowHandler();
+}
+
 } // namespace DevelWindow
 
 } // namespace Dali
old mode 100644 (file)
new mode 100755 (executable)
index db6c6ac..b12c0b9
@@ -82,6 +82,13 @@ DALI_IMPORT_API void Hide( Window window );
  */
 DALI_IMPORT_API bool IsVisible( 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 5c0523c..1408fab
@@ -676,6 +676,12 @@ void Window::RotationDone( int orientation, int width, int height )
   ecore_wl_window_rotation_change_done_send( mEventHandler->mEcoreWindow );
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return mEventHandler->mEcoreWindow;
+}
+
+
 } // Adaptor
 } // Internal
 } // Dali
old mode 100644 (file)
new mode 100755 (executable)
index e9ec667..7b3303d
@@ -305,11 +305,16 @@ bool Window::IsVisible() const
   return mVisible;
 }
 
-
 void Window::RotationDone( int orientation, int width, int height )
 {
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return NULL;
+}
+
+
 } // Adaptor
 } // Internal
 } // Dali
old mode 100644 (file)
new mode 100755 (executable)
index 63069b2..4f07fc6
@@ -811,6 +811,11 @@ void Window::RotationDone( int orientation, int width, int height )
   }
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return mEventHandler->mEcoreWindow;
+}
+
 
 } // Adaptor
 } // Internal