summaryrefslogtreecommitdiff
path: root/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'settings.cpp')
-rw-r--r--settings.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings.cpp b/settings.cpp
index df95a56c..6f1640a6 100644
--- a/settings.cpp
+++ b/settings.cpp
@@ -105,6 +105,12 @@ string Settings::SerializeSettings(Ref<BinaryView> view, BNSettingsScope scope)
}
+bool Settings::CopyValue(const string& destRegistry, const string& id)
+{
+ return BNSettingsCopyValue(m_registry.c_str(), destRegistry.c_str(), id.c_str());
+}
+
+
bool Settings::Reset(const string& id, Ref<BinaryView> view, BNSettingsScope scope)
{
return BNSettingsReset(m_registry.c_str(), id.c_str(), view ? view->GetObject() : nullptr, scope);