From 5504262629597323782184311297513669076903 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 18 Sep 2024 13:37:50 -0400 Subject: Unify implementations of getStringForGraphType --- ui/util.h | 2 ++ 1 file changed, 2 insertions(+) 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 BINARYNINJAUIAPI getStringForGraphType(BNFunctionGraphType type); +std::optional BINARYNINJAUIAPI getGraphTypeForString(const std::string& type); namespace fmt { -- cgit v1.3.1