summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorUlisses Furquim <ulissesf@gmail.com>2006-10-26 14:27:40 +0000
committerUlisses Furquim <ulissesf@gmail.com>2006-10-26 14:27:40 +0000
commit116c1cdd908969b092a928cca4cc939296d10907 (patch)
treed1bce4c4d28c1c830aca920e16a739c0e5003870 /hcid
parent064111d7adf4da63d9877bfc6bb094eff6421e3b (diff)
Update RegisterService() and RegisterShadowService() documentation
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-api.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index 0f996765..aa52ec63 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -160,14 +160,17 @@ Methods uint32 InterfaceVersion()
Returns list of object paths of registered
service agents.
- void RegisterService(string path)
+ void RegisterService(string path, string name,
+ string description)
This registers a new service agent.
The path parameter defines the object path of the
service agent that will be called when someone
requests information through org.bluez.Service
- interface.
+ interface. The name and description parameters can
+ provide the name of the service and a description of
+ what it does or they can be empty strings.
void UnregisterService(string path)
@@ -176,7 +179,8 @@ Methods uint32 InterfaceVersion()
match the same value that has been used on
registration.
- void RegisterShadowService(string path)
+ void RegisterShadowService(string path, string name,
+ string description)
This registers a new shadow service agent. The
service will not be available through ListServices().
@@ -184,7 +188,9 @@ Methods uint32 InterfaceVersion()
The path parameter defines the object path of the
service agent that will be called when someone
requests information through org.bluez.Service
- interface.
+ interface. The name and description parameters can
+ provide the name of the service and a description of
+ what it does or they can be empty strings.
void UnregisterShadowService(string path)