diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-07-14 16:20:12 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-07-14 16:20:12 +0000 |
commit | a929c9a3b465db8b7e17b9b39936c612c2621a7c (patch) | |
tree | d1764257d1bd56f8e6a044516ccfc9bc44f7f9f5 /mono/MethodCall.cs | |
parent | 5efe8e7f1d97931710558495a951e0b35afbfb72 (diff) |
* Remove all bindings
Diffstat (limited to 'mono/MethodCall.cs')
-rw-r--r-- | mono/MethodCall.cs | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/mono/MethodCall.cs b/mono/MethodCall.cs deleted file mode 100644 index ab7a4a36..00000000 --- a/mono/MethodCall.cs +++ /dev/null @@ -1,80 +0,0 @@ -namespace DBus -{ - using System; - using System.Runtime.InteropServices; - using System.Diagnostics; - - public class MethodCall : Message - { - public MethodCall() : base(MessageType.MethodCall) - { - } - - internal MethodCall(IntPtr rawMessage, Service service) : base(rawMessage, service) - { - } - - public MethodCall(Service service) : base(MessageType.MethodCall, service) - { - } - - public MethodCall(Service service, string pathName, string interfaceName, string name) - { - this.service = service; - - RawMessage = dbus_message_new_method_call(service.Name, pathName, interfaceName, name); - - if (RawMessage == IntPtr.Zero) { - throw new OutOfMemoryException(); - } - - this.pathName = pathName; - this.interfaceName = interfaceName; - this.name = name; - - dbus_message_unref(RawMessage); - } - - public new string PathName - { - get - { - return base.PathName; - } - - set - { - base.PathName = value; - } - } - - public new string InterfaceName - { - get - { - return base.InterfaceName; - } - - set - { - base.InterfaceName = value; - } - } - - public new string Name - { - get - { - return base.Name; - } - - set - { - base.Name = value; - } - } - - [DllImport("dbus-1")] - private extern static IntPtr dbus_message_new_method_call(string serviceName, string pathName, string interfaceName, string name); - } -} |