Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_win32


Modified Files:
        Ecore_Win32.h ecore_win32_window.c 


Log Message:
add a method that returns the HWND window of an Ecore_Win32_Window

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_win32/Ecore_Win32.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Ecore_Win32.h       26 Jun 2008 09:54:35 -0000      1.8
+++ Ecore_Win32.h       29 Jun 2008 14:12:16 -0000      1.9
@@ -324,6 +324,8 @@
 
 EAPI void ecore_win32_window_del(Ecore_Win32_Window *window);
 
+EAPI void *ecore_win32_window_hwnd_get(Ecore_Win32_Window *window);
+
 EAPI void ecore_win32_window_move(Ecore_Win32_Window *window,
                                   int                 x,
                                   int                 y);
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_win32/ecore_win32_window.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ecore_win32_window.c        26 Jun 2008 09:54:35 -0000      1.8
+++ ecore_win32_window.c        29 Jun 2008 14:12:16 -0000      1.9
@@ -76,6 +76,14 @@
    printf ("ecore_win32_window_del\n");
 }
 
+void *
+ecore_win32_window_hwnd_get(Ecore_Win32_Window *window)
+{
+   if (!window) return NULL;
+
+   return ((struct _Ecore_Win32_Window *)window)->window;
+}
+
 /*
 void
 ecore_win32_window_configure(Ecore_Win32_Window        *window,



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to