From 190c491d4f6ea4cdb089f5efee15e4fcf65715d3 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 27 Apr 2015 02:15:16 -0400 Subject: Initial database save/open, just file contents right now --- binaryview.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index 4d5c839a..d5776bc7 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -308,6 +308,30 @@ bool BinaryView::IsModified() const } +bool BinaryView::IsAnalysisChanged() const +{ + return m_file->IsAnalysisChanged(); +} + + +bool BinaryView::IsBackedByDatabase() const +{ + return m_file->IsBackedByDatabase(); +} + + +bool BinaryView::CreateDatabase(const string& path) +{ + return m_file->CreateDatabase(path, this); +} + + +bool BinaryView::SaveAutoSnapshot() +{ + return m_file->SaveAutoSnapshot(this); +} + + void BinaryView::BeginUndoActions() { m_file->BeginUndoActions(); -- cgit v1.3.1