From a929c9a3b465db8b7e17b9b39936c612c2621a7c Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 14 Jul 2006 16:20:12 +0000 Subject: * Remove all bindings --- mono/MethodReturn.cs | 57 ---------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 mono/MethodReturn.cs (limited to 'mono/MethodReturn.cs') diff --git a/mono/MethodReturn.cs b/mono/MethodReturn.cs deleted file mode 100644 index 1e7731df..00000000 --- a/mono/MethodReturn.cs +++ /dev/null @@ -1,57 +0,0 @@ -namespace DBus -{ - using System; - using System.Runtime.InteropServices; - using System.Diagnostics; - - public class MethodReturn : Message - { - private MethodReturn() : base(MessageType.MethodReturn) - { - } - - internal MethodReturn(IntPtr rawMessage, Service service) : base(rawMessage, service) - { - } - - public MethodReturn(MethodCall methodCall) - { - this.service = methodCall.Service; - - RawMessage = dbus_message_new_method_return(methodCall.RawMessage); - - if (RawMessage == IntPtr.Zero) { - throw new OutOfMemoryException(); - } - - dbus_message_unref(RawMessage); - } - - public new string PathName - { - get - { - return base.PathName; - } - } - - public new string InterfaceName - { - get - { - return base.InterfaceName; - } - } - - public new string Name - { - get - { - return base.Name; - } - } - - [DllImport("dbus-1")] - private extern static IntPtr dbus_message_new_method_return(IntPtr rawMessage); - } -} -- cgit