summaryrefslogtreecommitdiffstats
path: root/mono/BusDriver.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mono/BusDriver.cs')
-rw-r--r--mono/BusDriver.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/mono/BusDriver.cs b/mono/BusDriver.cs
index 426dd370..b5885a32 100644
--- a/mono/BusDriver.cs
+++ b/mono/BusDriver.cs
@@ -3,9 +3,9 @@ namespace DBus
using System;
- public delegate void ServiceEventHandler (string serviceName,
- string oldOwner,
- string newOwner);
+ public delegate void NameOwnerChangedHandler (string name,
+ string oldOwner,
+ string newOwner);
[Interface ("org.freedesktop.DBus")]
public abstract class BusDriver
@@ -14,14 +14,14 @@ namespace DBus
public abstract string[] ListServices ();
[Method]
- public abstract string GetServiceOwner (string serviceName);
+ public abstract string GetOwner (string name);
[Method]
public abstract UInt32 GetConnectionUnixUser (string connectionName);
[Signal]
- public virtual event ServiceEventHandler ServiceOwnerChanged;
+ public virtual event NameOwnerChangedHandler NameOwnerChanged;
static public BusDriver New (Connection connection)
{