summaryrefslogtreecommitdiff
path: root/src/database/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-01-15 12:31:20 +1100
committerjacqueline <me@jacqueline.id.au>2024-01-15 12:31:20 +1100
commit7cdcd44e0ca10ebdc796638190ed1d9b45d99ef0 (patch)
tree637b43848d17c9dbdc1688cb4733eb235f223e37 /src/database/include
parent0e04eb918ec976017276306181282769d8896c83 (diff)
downloadtangara-fw-7cdcd44e0ca10ebdc796638190ed1d9b45d99ef0.tar.gz
Begin migration of remaining screens to Lua
Diffstat (limited to 'src/database/include')
-rw-r--r--src/database/include/database.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/database/include/database.hpp b/src/database/include/database.hpp
index 88a18e17..cb4064fb 100644
--- a/src/database/include/database.hpp
+++ b/src/database/include/database.hpp
@@ -63,6 +63,10 @@ class Database {
~Database();
+ auto schemaVersion() -> std::string;
+
+ auto sizeOnDiskBytes() -> size_t;
+
/* Adds an arbitrary record to the database. */
auto put(const std::string& key, const std::string& val) -> void;