summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index cff3ed10..14393930 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -518,12 +518,25 @@ bool BinaryView::CreateDatabase(const string& path)
}
+bool BinaryView::CreateDatabase(const string& path,
+ const function<void(size_t progress, size_t total)>& progressCallback)
+{
+ return m_file->CreateDatabase(path, this, progressCallback);
+}
+
+
bool BinaryView::SaveAutoSnapshot()
{
return m_file->SaveAutoSnapshot(this);
}
+bool BinaryView::SaveAutoSnapshot(const function<void(size_t progress, size_t total)>& progressCallback)
+{
+ return m_file->SaveAutoSnapshot(this, progressCallback);
+}
+
+
void BinaryView::BeginUndoActions()
{
m_file->BeginUndoActions();