Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_misc.c ewl_misc.h 


Log Message:
Patch from Gaute Hope to wrap main loop iteration from ecore.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- ewl_misc.c  2 Jul 2007 22:26:13 -0000       1.96
+++ ewl_misc.c  16 Jul 2007 16:08:08 -0000      1.97
@@ -389,6 +389,21 @@
 }
 
 /**
+ * @return Returns no value.
+ * @brief One iteration of the main execution loop of EWL
+ *
+ * This is one iteration of the main execution loop of ewl. It dispatches
+ * all of the current incoming events and renders updates on the queue to the 
evas's used by ewl.
+ * Remember to clean up with ewl_shutdown () afterwards.
+ */
+void
+ewl_main_iterate (void)
+{
+  ecore_main_loop_iterate ();
+}
+
+
+/**
  * @internal
  * @param data: this is only necessary for registering this function with ecore
  * @return Returns TRUE to continue the timer.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_misc.h  2 Mar 2007 02:33:10 -0000       1.25
+++ ewl_misc.h  16 Jul 2007 16:08:08 -0000      1.26
@@ -20,6 +20,7 @@
 void    ewl_print_help(void);
 int     ewl_shutdown(void);
 void    ewl_main(void);
+void     ewl_main_iterate(void);
 void    ewl_main_quit(void);
 void    ewl_configure_request(Ewl_Widget *w);
 void    ewl_realize_request(Ewl_Widget *w);



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to