summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-11 09:21:45 +0100
committerGitHub <noreply@github.com>2020-02-11 09:21:45 +0100
commit6fb64054088d0b4da2b35d3d730820550605f7a7 (patch)
tree5d71e3a565141937c5b588bab723acd57e427917 /doc/classes
parent12244c46aea37883c387939ae1d054f24eae978b (diff)
parente5bd3b707f07d1f3eb4d4a8a18ee1736ff1fbe76 (diff)
Merge pull request #36072 from RandomShaper/imvu/configfile_parse
Add ConfigFile::parse()
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ConfigFile.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/classes/ConfigFile.xml b/doc/classes/ConfigFile.xml
index 7eaa815a87..ad36f1f1c3 100644
--- a/doc/classes/ConfigFile.xml
+++ b/doc/classes/ConfigFile.xml
@@ -129,6 +129,16 @@
<description>
</description>
</method>
+ <method name="parse">
+ <return type="int" enum="Error">
+ </return>
+ <argument index="0" name="data" type="String">
+ </argument>
+ <description>
+ Parses the the passed string as the contents of a config file. The string is parsed and loaded in the ConfigFile object which the method was called on.
+ Returns one of the [enum Error] code constants ([code]OK[/code] on success).
+ </description>
+ </method>
<method name="save">
<return type="int" enum="Error">
</return>