summaryrefslogtreecommitdiffstats
path: root/mono/BusDriver.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mono/BusDriver.cs')
-rw-r--r--mono/BusDriver.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/mono/BusDriver.cs b/mono/BusDriver.cs
deleted file mode 100644
index 4e9b7afa..00000000
--- a/mono/BusDriver.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-namespace DBus
-{
-
- using System;
-
- public delegate void NameOwnerChangedHandler (string name,
- string oldOwner,
- string newOwner);
-
- [Interface ("org.freedesktop.DBus")]
- public abstract class BusDriver
- {
- [Method]
- public abstract string[] ListNames ();
-
- [Method]
- public abstract string GetNameOwner (string name);
-
- [Method]
- public abstract UInt32 GetConnectionUnixUser (string connectionName);
-
-
- [Signal]
- public virtual event NameOwnerChangedHandler NameOwnerChanged;
-
- static public BusDriver New (Connection connection)
- {
- Service service;
- service = Service.Get (connection, "org.freedesktop.DBus");
-
- BusDriver driver;
- driver = (BusDriver) service.GetObject (typeof (BusDriver), "/org/freedesktop/DBus");
-
- return driver;
- }
- }
-}