summaryrefslogtreecommitdiffstats
path: root/mono/DBus.cs
diff options
context:
space:
mode:
authorOwen Fraser-Green <owen@discobabe.net>2004-03-23 12:10:32 +0000
committerOwen Fraser-Green <owen@discobabe.net>2004-03-23 12:10:32 +0000
commitc916037773d7d3d8d37ca2c5a8899b7b728e377d (patch)
tree21c37372ab9795583e724e8459578b7fe0be330b /mono/DBus.cs
parent2195cf0dbde2ae26b5a684c6d914c1711f44c28d (diff)
First checkin of the Mono bindings.
Diffstat (limited to 'mono/DBus.cs')
-rw-r--r--mono/DBus.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/mono/DBus.cs b/mono/DBus.cs
deleted file mode 100644
index 377af742..00000000
--- a/mono/DBus.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace DBus {
-
- using System;
- using System.Runtime.InteropServices;
-
- public class Exception : ApplicationException {
- internal Exception (ref Error error)
- : base (Runtime.InteropServices.Marshal.PtrToStringAnsi (error.message)) { }
- }
-
- internal class Internals {
- internal const string DBusLibname = "libdbus-1.so.0";
- internal const string DBusGLibname = "libdbus-glib-1.so.0";
- internal const string GLibname = "libglib-2.0.so.0";
- internal const string GThreadname = "libgthread-2.0.so.0";
-
- internal static void Init () {
- dbus_gthread_init ();
- }
-
- [DllImport (DBus.Internals.DBusGLibname, EntryPoint="dbus_gthread_init")]
- private extern static void dbus_gthread_init ();
- }
-}