summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-07-01 16:41:36 -0400
committerPeter LaFosse <peter@vector35.com>2017-07-02 16:57:30 -0400
commit88ec179d9519221744240e347bc94da09bbc2157 (patch)
tree4f9b5837340a0f87fae69a5c29fcf3467a15d775 /binaryninjaapi.h
parent10c88f331e8d74e7c9aad3c67518fb4eb8386da9 (diff)
expose Settings 'Set' APIs to C++
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index f2fa1e07..3eb8b82e 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2881,6 +2881,32 @@ namespace BinaryNinja
static bool IsIntegerList(const std::string& settingGroup, const std::string& name);
static bool IsStringList(const std::string& settingGroup, const std::string& name);
static bool IsDouble(const std::string& settingGroup, const std::string& name);
+
+ static bool Set(const std::string& settingGroup,
+ const std::string& name,
+ bool value,
+ bool autoFlush=true);
+ static bool Set(const std::string& settingGroup,
+ const std::string& name,
+ uint64_t value,
+ bool autoFlush=true);
+ static bool Set(const std::string& settingGroup,
+ const std::string& name,
+ const std::string& value,
+ bool autoFlush=true);
+ static bool Set(const std::string& settingGroup,
+ const std::string& name,
+ const std::vector<uint64_t>& value,
+ bool autoFlush=true);
+ static bool Set(const std::string& settingGroup,
+ const std::string& name,
+ const std::vector<std::string>& value,
+ bool autoFlush=true);
+ static bool Set(const std::string& settingGroup,
+ const std::string& name,
+ double value,
+ bool autoFlush=true);
+ static bool FlushSettings();
};
typedef BNMetadataType MetadataType;