mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
[libcalamares] load/save globals in YAML format
This commit is contained in:
parent
a36afc52df
commit
b44fd65986
1 changed files with 10 additions and 0 deletions
|
@ -60,6 +60,7 @@ public:
|
|||
|
||||
/// @brief dump keys and values to the debug log
|
||||
void debugDump() const;
|
||||
|
||||
/** @brief write as JSON to the given filename
|
||||
*
|
||||
* No tidying, sanitization, or censoring is done -- for instance,
|
||||
|
@ -69,6 +70,15 @@ public:
|
|||
*/
|
||||
bool save( const QString& filename );
|
||||
|
||||
/** @brief write as YAML to the given filename
|
||||
*
|
||||
* See also save(), above.
|
||||
*/
|
||||
bool saveYaml( const QString& filename );
|
||||
|
||||
/// @brief reads settings from the given filename
|
||||
bool loadYaml( const QString& filename );
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue