summaryrefslogtreecommitdiff
path: root/ui/filecontext.h
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2024-07-19 16:41:34 +0800
committerXusheng <xusheng@vector35.com>2024-07-23 12:46:17 +0800
commit535aadacf4ffff734dfb10c683dfce848773c957 (patch)
tree06f90e2198d652d6362010a372a0afe8b677cc91 /ui/filecontext.h
parent74361e5a39cb3d356a93de66a32ca893bcc15496 (diff)
Support directly creating a new mapped file
Diffstat (limited to 'ui/filecontext.h')
-rw-r--r--ui/filecontext.h1
1 files changed, 1 insertions, 0 deletions
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<FileContext*>& getOpenFileContexts();
};