From c8bef7267b0ec3b36167b679263bbfd4834a5b88 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 30 Sep 2024 18:42:03 -0400 Subject: Use title for generation of function analysis actions. --- settings.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'settings.cpp') diff --git a/settings.cpp b/settings.cpp index 549c7b6a..4d3f5acd 100644 --- a/settings.cpp +++ b/settings.cpp @@ -78,6 +78,16 @@ vector Settings::Keys() } +template <> +string Settings::QueryProperty(const string& key, const string& property) +{ + char* outBuffer = BNSettingsQueryPropertyString(m_object, key.c_str(), property.c_str()); + string result(outBuffer); + BNFreeString(outBuffer); + return result; +} + + template <> vector Settings::QueryProperty>(const string& key, const string& property) { -- cgit v1.3.1