Backup setting on exit to plugin config dir

Only one version of the settings file will be kept per scene collection
and plugin version combination
This commit is contained in:
WarmUpTill
2024-02-27 21:19:49 +01:00
committed by WarmUpTill
parent f50f31ec4c
commit 2b2bab8fbc
6 changed files with 106 additions and 30 deletions

View File

@@ -3,6 +3,11 @@
namespace advss {
void SavePluginSettings(obs_data_t *obj)
{
GetSwitcher()->SaveSettings(obj);
}
void LoadPluginSettings(obs_data_t *obj)
{
GetSwitcher()->LoadSettings(obj);