aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/file_sys/file_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/file_backend.h')
-rw-r--r--src/core/file_sys/file_backend.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/file_backend.h b/src/core/file_sys/file_backend.h
index 1b81d5fe..539ec731 100644
--- a/src/core/file_sys/file_backend.h
+++ b/src/core/file_sys/file_backend.h
@@ -61,6 +61,11 @@ public:
* @return true if the file closed correctly
*/
virtual bool Close() const = 0;
+
+ /**
+ * Flushes the file
+ */
+ virtual void Flush() const = 0;
};
} // namespace FileSys