Rename Register/UnregisterApplication to Create/DestroyApplication

Create/Destroy makes more sense since the application is created on the
bluetoothd side whereas what's really registered is an agent on the
caller side. This way the call is similar to e.g. CreatePairedDevice,
and so the parameter order should also be config first and then the
agent.
This commit is contained in:
Johan Hedberg 2010-07-12 18:24:01 -03:00
parent 585cb76500
commit 71cafd1631

View File

@ -14,7 +14,7 @@ Object path /org/bluez/
Methods:
object RegisterApplication(object agent, dict config)
object CreateApplication(dict config, object agent)
Returns the path of the new registered application. The agent
parameter is the path of the object with the callbacks to
@ -35,7 +35,7 @@ Methods:
Possible errors: org.bluez.Error.InvalidArguments
void UnregisterApplication(object application)
void DestroyApplication(object application)
Closes the HDP application identified by the object path. Also
application will be closed if the process that started it leaves