Skip to contentSkip to conversation

API documentation fixes

PATCH In review Marko Saukko 3 participants 3 messages Oct 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 API documentation fixes

Hi,

Fixes for API documentation.

Regards,
Marko

---
 doc/call-settings-api.txt    |    4 ++--
 doc/sim-api.txt              |   10 +++++-----
 doc/voicecall-api.txt        |    2 +-
 doc/voicecallmanager-api.txt |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)
doc/call-settings-api.txt +2 -2
index 870c748..5e5eb40 100644
@@ -1,7 +1,7 @@
-Call Forwarding hierarchy
+Call Settings hierarchy
 ===============
 Service		org.ofono
-Interface	org.ofono.CallForwarding
+Interface	org.ofono.CallSettings
 Object path	[variable prefix]/{modem0,modem1,...}
 
 Methods		dict GetProperties()
doc/sim-api.txt +5 -5
index 11ee4c8..9fe9a92 100644
@@ -12,22 +12,22 @@ Methods		dict GetProperties()
 
 			Possible Errors: [service].Error.InvalidArguments
 
-		ChangePin(string type, string oldpin, string newpin)
+		void ChangePin(string type, string oldpin, string newpin)
 
 			Changes the pin given by string type.
 
-		EnterPin(string type, string pin)
+		void EnterPin(string type, string pin)
 
 			Enters the currently pending pin.  The type value must
 			match the pin type being asked in the PinRequired
 			property.
 
-		ResetPin(string type, string puk, string newpin)
+		void ResetPin(string type, string puk, string newpin)
 
 			Provides the unblock key to the modem and if correct
 			resets the pin to the new value of newpin.
 
-		LockPin(string type, string pin)
+		void LockPin(string type, string pin)
 
 			Activates the lock for the particular pin type.  The
 			device will ask for a PIN automatically next time the
@@ -35,7 +35,7 @@ Methods		dict GetProperties()
 			re-inserter.  The current PIN is required for the
 			operation to succeed.
 
-		UnlockPin(string type, string pin)
+		void UnlockPin(string type, string pin)
 
 			Deactivates the lock for the particular pin type.  The
 			current PIN is required for the operation to succeed.
doc/voicecall-api.txt +1 -1
index 62db5a1..b360cca 100644
@@ -3,7 +3,7 @@ VoiceCall hierarchy
 
 Service		org.ofono
 Interface	org.ofono.VoiceCall
-Object path	[variable prefix]/{modem0,modem1,...}/{call0,call1,...}
+Object path	[variable prefix]/{modem0,modem1,...}/{voicecall01,voicecall02,...}
 
 Methods		dict GetProperties()
 
doc/voicecallmanager-api.txt +1 -1
index 361370a..7877ac5 100644
@@ -70,7 +70,7 @@ Methods		dict GetProperties()
 			Held calls is invalid, since in GSM a user can have
 			only a single Held call at a time.
 
-		void HangupAllCalls()
+		void HangupAll()
 
 			Releases all calls.
 
Signature · 1 line
1.6.0.4
#2 lore raw
In reply to Marko Saukko
Quoted 6 lines

From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Marko Saukko
Sent: Friday, October 16, 2009 2:48 AM
To: ofono(a)ofono.org
Subject: [PATCH] API documentation fixes

Quoted 6 lines

Hi,

Fixes for API documentation.

Regards,
Marko

While you are at it,
MobileCountryCode / MobileNetworkCode in doc/network-api.txt are still listed as uint16

Cheers,
Waldo