diff options
author | jstebbins <[email protected]> | 2015-03-06 22:17:34 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-03-06 22:17:34 +0000 |
commit | 01eabb2d314372bb301c3468d53840994105c652 (patch) | |
tree | f82169e882e5b83b7be85d0301b3451e3d93b139 /gtk/src/presets.h | |
parent | 0d4c60c548ffc487c66ca055efb18c7f09faa0c6 (diff) |
LinGui: add methods for reading and writing json config files
queue, preferences and app resources are now stored in json.
presets are not yet stored as json, pending sync with other platforms
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6970 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/presets.h')
-rw-r--r-- | gtk/src/presets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/presets.h b/gtk/src/presets.h index f3bbaf0cb..d9fe4e92f 100644 --- a/gtk/src/presets.h +++ b/gtk/src/presets.h @@ -53,5 +53,7 @@ GhbValue* ghb_get_current_preset_path(signal_user_data_t *ud); void ghb_preset_to_settings(GhbValue *settings, GhbValue *preset); void ghb_prefs_to_settings(GhbValue *settings); void dump_preset_path(const gchar *msg, const GhbValue *path); +GhbValue* ghb_read_settings_file(const gchar *path); +void ghb_write_settings_file(const gchar *path, GhbValue *dict); #endif // _GHB_PRESETS_H_ |