From 535aadacf4ffff734dfb10c683dfce848773c957 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Fri, 19 Jul 2024 16:41:34 +0800 Subject: Support directly creating a new mapped file --- ui/filecontext.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/filecontext.h b/ui/filecontext.h index e9b37267..53b108f5 100644 --- a/ui/filecontext.h +++ b/ui/filecontext.h @@ -106,6 +106,7 @@ class BINARYNINJAUIAPI FileContext : public FileContextBase, public BinaryNinja: void resumeSync() { m_suspendSync = false; } static FileContext* newFile(); + static FileContext* newMappedFile(PlatformRef platform); static FileContext* openFilename(const QString& path); static const std::set& getOpenFileContexts(); }; -- cgit v1.3.1