From 2c80bc959151a6b9888a8521a0efbba1a1843cb6 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Fri, 25 Jan 2019 09:55:33 -0500 Subject: Add CopyValue to Settings APi. --- settings.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'settings.cpp') 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 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 view, BNSettingsScope scope) { return BNSettingsReset(m_registry.c_str(), id.c_str(), view ? view->GetObject() : nullptr, scope); -- cgit v1.3.1