summaryrefslogtreecommitdiffstats
path: root/mono/DBus.cs
diff options
context:
space:
mode:
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";
+ }
+}