[Tizen] keygrab & ecore-wl-window-handle c# binding 98/126398/2
authordongsug.song <dongsug.song@samsung.com>
Fri, 21 Apr 2017 07:58:01 +0000 (16:58 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Fri, 21 Apr 2017 07:59:52 +0000 (16:59 +0900)
Change-Id: Ieee5d916bfeaa57dbc7e45aa06d0b4e875921652
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
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;
   IndicatorSignalType mIndicatorVisibilityChangedSignal;
   FocusSignalType     mFocusChangedSignal;
   SignalType          mDeleteRequestSignal;
+
+public:
+
+  void* GetNativeWindowHandler();
 };
 
 } // namespace Adaptor
 };
 
 } // 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();
 }
 
   return GetImplementation( window ).IsVisible();
 }
 
+void * GetNativeWindowHandler( Window window )
+{
+  return GetImplementation( window ).GetNativeWindowHandler();
+}
+
 } // namespace DevelWindow
 
 } // namespace Dali
 } // 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 );
 
  */
 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
 } // 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 );
 }
 
   ecore_wl_window_rotation_change_done_send( mEventHandler->mEcoreWindow );
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return mEventHandler->mEcoreWindow;
+}
+
+
 } // Adaptor
 } // Internal
 } // Dali
 } // Adaptor
 } // Internal
 } // Dali
old mode 100644 (file)
new mode 100755 (executable)
index e9ec667..7b3303d
@@ -305,11 +305,16 @@ bool Window::IsVisible() const
   return mVisible;
 }
 
   return mVisible;
 }
 
-
 void Window::RotationDone( int orientation, int width, int height )
 {
 }
 
 void Window::RotationDone( int orientation, int width, int height )
 {
 }
 
+void* Window::GetNativeWindowHandler()
+{
+  return NULL;
+}
+
+
 } // Adaptor
 } // Internal
 } // Dali
 } // 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
 
 } // Adaptor
 } // Internal