summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-09-18 13:37:50 -0400
committerGlenn Smith <glenn@vector35.com>2024-09-18 13:44:59 -0400
commit5504262629597323782184311297513669076903 (patch)
treef35de38af0ebd486c0b26dcca1351b5e4d1ab8bc
parent6b27ddd8a8fd3898636359681b4406c467b0f774 (diff)
Unify implementations of getStringForGraphType
-rw-r--r--ui/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/util.h b/ui/util.h
index 9713713a..f1a68752 100644
--- a/ui/util.h
+++ b/ui/util.h
@@ -34,6 +34,8 @@ bool BINARYNINJAUIAPI isBinaryNinjaDatabase(QFileInfo& info, QFileAccessor& acce
PlatformRef BINARYNINJAUIAPI getOrAskForPlatform(QWidget* parent, BinaryViewRef data);
PlatformRef BINARYNINJAUIAPI getOrAskForPlatform(QWidget* parent, PlatformRef defaultValue);
+std::optional<std::string> BINARYNINJAUIAPI getStringForGraphType(BNFunctionGraphType type);
+std::optional<BNFunctionGraphType> BINARYNINJAUIAPI getGraphTypeForString(const std::string& type);
namespace fmt
{