doc: Mention deprecation of GetProperties methods
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 17 May 2012 18:07:20 +0000 (11:07 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 May 2012 18:07:20 +0000 (11:07 -0700)
doc/service-api.txt
doc/technology-api.txt

index 084bc0575a4ee315cae522e972cfd8d57688b941..92f93b01e96a56398eea29bab201d3ae1d8c5957 100644 (file)
@@ -5,11 +5,14 @@ Service               net.connman
 Interface      net.connman.Service
 Object path    [variable prefix]/{service0,service1,...}
 
-Methods                dict GetProperties()
+Methods                dict GetProperties()  [deprecated]
 
                        Returns properties for the service object. See
                        the properties section for available properties.
 
+                       Usage of this method is highly discouraged. Use
+                       the Manager.GetServices() method instead.
+
                        Possible Errors: [service].Error.InvalidArguments
 
                void SetProperty(string name, variant value)
index f7eb57a8ea867798b5ea5322b9d3465b8c9d224a..d8cbad48617b20b241261d70c56c620515c69963 100644 (file)
@@ -5,11 +5,14 @@ Service               net.connman
 Interface      net.connman.Technology
 Object path    [variable prefix]/{technology0,technology1,...}
 
-Methods                dict GetProperties()
+Methods                dict GetProperties()  [deprecated]
 
                        Returns properties for the technology object. See
                        the properties section for available properties.
 
+                       Usage of this method is highly discouraged. Use
+                       the Manager.GetTechnologies() method instead.
+
                        Possible Errors: [service].Error.InvalidArguments
 
                void SetProperty(string name, variant value)