Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/engines/ecore_evas


Modified Files:
        ecore_evas.c 


Log Message:
Remainder of Adre's patch to allow engines to have init params.


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/engines/ecore_evas/ecore_evas.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ecore_evas.c        22 Mar 2007 23:42:00 -0000      1.20
+++ ecore_evas.c        29 Jun 2007 12:00:13 -0000      1.21
@@ -7,11 +7,11 @@
 typedef Etk_Engine_Ecore_Evas_Window_Data Etk_Engine_Window_Data;
 
 /* General engine functions */
-Etk_Engine *engine_open();
-void engine_close();
+Etk_Engine *engine_open(int *argc, char ***argv);
+void engine_close(void);
 
-static Etk_Bool _engine_init();
-static void _engine_shutdown();
+static Etk_Bool _engine_init(void);
+static void _engine_shutdown(void);
 
 /* Etk_Window functions */
 static void _window_constructor(Etk_Window *window);
@@ -132,7 +132,7 @@
  **************************/
 
 /* Called when the engine is loaded */
-Etk_Engine *engine_open()
+Etk_Engine *engine_open(int *argc, char ***argv)
 {
    engine_info.engine_data = NULL;
    engine_info.engine_name = strdup("ecore_evas");
@@ -140,13 +140,13 @@
 }
 
 /* Called when the engine is unloaded */
-void engine_close()
+void engine_close(void)
 {
    free(engine_info.engine_name);
 }
 
 /* Initializes the engine */
-static Etk_Bool _engine_init()
+static Etk_Bool _engine_init(void)
 {
    if (!ecore_evas_init())
    {
@@ -157,7 +157,7 @@
 }
 
 /* Shutdowns the engine */
-static void _engine_shutdown()
+static void _engine_shutdown(void)
 {
    ecore_evas_shutdown();
 }



-------------------------------------------------------------------------
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