13
0

Add API to query current export preset

This commit is contained in:
Robin Gareus 2022-10-19 18:19:34 +02:00
parent 6ba740d37a
commit 506528a70c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -71,6 +71,7 @@ public:
typedef std::list<ExportPresetPtr> PresetList;
PresetList const& get_presets () { return preset_list; }
ExportPresetPtr preset () const { return current_preset; }
bool load_preset (ExportPresetPtr preset);
ExportPresetPtr new_preset (std::string const& name);