Author: miguel
Date: 2007-07-20 18:49:36 -0400 (Fri, 20 Jul 2007)
New Revision: 82395
Modified:
trunk/olive/class/agmono/Mono/NativeMethods.cs
Log:
Add methods
Modified: trunk/olive/class/agmono/Mono/NativeMethods.cs
===================================================================
--- trunk/olive/class/agmono/Mono/NativeMethods.cs 2007-07-20 22:49:31 UTC
(rev 82394)
+++ trunk/olive/class/agmono/Mono/NativeMethods.cs 2007-07-20 22:49:36 UTC
(rev 82395)
@@ -573,6 +573,16 @@
public extern static void xaml_set_parser_callbacks
(Mono.CreateCustomXamlElementCallback ccecb,
Mono.SetCustomXamlAttributeCallback scacb,
Mono.XamlHookupEventCallback hue);
+#region HtmlTimer
+ public delegate bool GSourceFunc (IntPtr data);
+
+ [DllImport("moon")]
+ public extern static uint html_timer_timeout_add (int interval,
GSourceFunc callback, IntPtr data);
+
+ [DllImport("moon")]
+ public extern static void html_timer_timeout_stop (uint
source_id);
+#endregion
+
#region EventObject
[DllImport("moon")]
public extern static void dependency_object_add_event_handler
(IntPtr handle, string eventName, UnmanagedEventHandler handler, GCHandle
closure);
@@ -589,5 +599,6 @@
public extern static int plugin_instance_get_actual_width
(IntPtr plugin_handle);
#endregion
+
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches