|
@@ -97,6 +97,26 @@
|
|
|
Loads the config file specified as a parameter. The file's contents are parsed and loaded in the ConfigFile object which the method was called on. Returns one of the [constant OK], [constant FAILED] or [code]ERR_*[/code] constants listed in [@GlobalScope]. If the load was successful, the return value is [constant OK].
|
|
|
</description>
|
|
|
</method>
|
|
|
+ <method name="load_encrypted">
|
|
|
+ <return type="int" enum="Error">
|
|
|
+ </return>
|
|
|
+ <argument index="0" name="path" type="String">
|
|
|
+ </argument>
|
|
|
+ <argument index="1" name="key" type="PoolByteArray">
|
|
|
+ </argument>
|
|
|
+ <description>
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
+ <method name="load_encrypted_pass">
|
|
|
+ <return type="int" enum="Error">
|
|
|
+ </return>
|
|
|
+ <argument index="0" name="path" type="String">
|
|
|
+ </argument>
|
|
|
+ <argument index="1" name="pass" type="String">
|
|
|
+ </argument>
|
|
|
+ <description>
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
<method name="save">
|
|
|
<return type="int" enum="Error">
|
|
|
</return>
|
|
@@ -106,6 +126,26 @@
|
|
|
Saves the contents of the ConfigFile object to the file specified as a parameter. The output file uses an INI-style structure. Returns one of the [constant OK], [constant FAILED] or [code]ERR_*[/code] constants listed in [@GlobalScope]. If the load was successful, the return value is [constant OK].
|
|
|
</description>
|
|
|
</method>
|
|
|
+ <method name="save_encrypted">
|
|
|
+ <return type="int" enum="Error">
|
|
|
+ </return>
|
|
|
+ <argument index="0" name="path" type="String">
|
|
|
+ </argument>
|
|
|
+ <argument index="1" name="key" type="PoolByteArray">
|
|
|
+ </argument>
|
|
|
+ <description>
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
+ <method name="save_encrypted_pass">
|
|
|
+ <return type="int" enum="Error">
|
|
|
+ </return>
|
|
|
+ <argument index="0" name="path" type="String">
|
|
|
+ </argument>
|
|
|
+ <argument index="1" name="pass" type="String">
|
|
|
+ </argument>
|
|
|
+ <description>
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
<method name="set_value">
|
|
|
<return type="void">
|
|
|
</return>
|