summaryrefslogtreecommitdiffstats
path: root/mono/DBus.cs
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-06-22 22:59:31 +0000
committerHavoc Pennington <hp@redhat.com>2003-06-22 22:59:31 +0000
commit1cc184b4a849619b56bed2be0e752fbc0fb75a29 (patch)
tree867409e28e08152147e095606e487793873dd51e /mono/DBus.cs
parent958805418359aca169cd363a4a3279f0fdab753c (diff)
2003-06-22 Havoc Pennington <hp@pobox.com>
* mono/Connection.cs, mono/DBus.cs, mono/Error.cs: Start wrapping more stuff.
Diffstat (limited to 'mono/DBus.cs')
-rw-r--r--mono/DBus.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mono/DBus.cs b/mono/DBus.cs
new file mode 100644
index 00000000..1032792a
--- /dev/null
+++ b/mono/DBus.cs
@@ -0,0 +1,13 @@
+namespace DBus {
+
+ using System;
+
+ public class Exception : ApplicationException {
+ internal Exception (ref Error error)
+ : base (Runtime.InteropServices.Marshal.PtrToStringAnsi (error.message)) { }
+ }
+
+ public class Internals {
+ public const string Libname = "libdbus-1.so.0";
+ }
+}