From 27f966a3b7a3c618a7d7d2549a4f3021f4d8d46e Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 20 May 2026 17:49:08 -0400 Subject: Pull lambdas out into separate functions. Addresses feedback from PR #8188. --- view/sharedcache/core/SharedCacheView.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'view/sharedcache/core/SharedCacheView.h') diff --git a/view/sharedcache/core/SharedCacheView.h b/view/sharedcache/core/SharedCacheView.h index e55df367..7ad2ba9a 100644 --- a/view/sharedcache/core/SharedCacheView.h +++ b/view/sharedcache/core/SharedCacheView.h @@ -21,6 +21,13 @@ class SharedCacheView : public BinaryNinja::BinaryView // NOTE: Currently this is just used to alert the user to supposed missing files. std::set m_secondaryFileNames; + std::string StorePrimaryProjectFile(BinaryNinja::ProjectFile* projectFile); + void StorePrimaryFilePath(const std::string& path, BinaryNinja::Project* project, const std::string& databaseDir); + std::optional ResolveProjectFilePath(BinaryNinja::Project* project, const std::string& projectPath); + std::optional ResolveUniqueProjectFileName(BinaryNinja::Project* project); + std::optional ResolveMetadataPrimaryFilePath(BinaryNinja::Project* project, const std::string& databaseDir); + std::optional PromptForPrimaryFile(); + public: SharedCacheView(const std::string& typeName, BinaryView* data, bool parseOnly = false); -- cgit v1.3.1