Author: nigel
Date: 2005-05-24 19:28:18 -0400 (Tue, 24 May 2005)
New Revision: 44947

Added:
   trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/ecore_main.cs
Removed:
   trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/Ecore.cs
Log:
name change to match

Deleted: trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/Ecore.cs
===================================================================
--- trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/Ecore.cs       2005-05-24 
23:27:37 UTC (rev 44946)
+++ trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/Ecore.cs       2005-05-24 
23:28:18 UTC (rev 44947)
@@ -1,92 +0,0 @@
-namespace Ecore {
-
-using System;
-using System.Collections;
-using System.Runtime.InteropServices;
-
-       public class MainLoop
-       {
-               const string Library = "ecore";
-   
-               [DllImport(Library)]
-               private extern static int ecore_init();
-               public static int Init()
-               {
-                       return ecore_init();
-               }
-   
-               [DllImport(Library)]
-               private extern static int ecore_shutdown();
-               public static int Shutdown()
-               {
-                       return ecore_shutdown();
-               }
-   
-               [DllImport(Library)]
-               private extern static void ecore_app_restart();
-               public static void Restart()
-               {
-                       ecore_app_restart();
-               }
-   
-               [DllImport(Library)]
-               private extern static void ecore_main_loop_iterate();
-               public static void Iterate()
-               {
-                       ecore_main_loop_iterate();
-               }
-   
-               [DllImport(Library)]
-               private extern static void ecore_main_loop_begin();
-               public static void Main()
-               {
-                       ecore_main_loop_begin();
-               }
-
-               [DllImport(Library)]
-               private extern static void ecore_main_loop_quit();
-               public static void Quit()
-               {
-                       ecore_main_loop_quit();
-               }
-
-               [DllImport(Library)]
-               private extern static void ecore_app_args_set(int argc, string 
[] argv);
-               public static void ArgsSet(int argc, string [] argv)
-               {
-                       ecore_app_args_set(argc, argv);
-               }
-   
-               [DllImport(Library)]
-               private extern static void ecore_app_args_get(out int argc, out 
string [] argv);
-               public static void ArgsGet(out int argc, out string [] argv)
-               {
-                       ecore_app_args_get(out argc, out argv);
-               }
-
-               private static Hashtable callbacks = new Hashtable ();
-               private static Hashtable dataptrs = new Hashtable ();   
-
-               /* PUBLIC METHODS */
-   
-               public const int EventNone = 0;
-               public const int EventExeExit = 1;
-               public const int EventSignalUser = 2;
-               public const int EventSignalHup = 3;
-               public const int EventSignalExit = 4;
-               public const int EventSignalPower = 5;
-               public const int EventSignalRealtime = 6;
-               public const int EventCount = 7;
-
-               // FIXME: Are we using this for anything??? Kind of out of 
place here
-               public static object GetObject(IntPtr p)
-               {
-                       if(!dataptrs.Contains(p))
-                               throw new Exception("Object pointer is 
invalid");
-                       // FIXME: Should we remove it?
-                       return dataptrs[p];     
-               }
-
-       }
-
-}

Copied: trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/ecore_main.cs (from rev 
44946, trunk/efl-sharp/libs/efl-sharp/src/lib/ecore/Ecore.cs)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to