summaryrefslogtreecommitdiff
path: root/include/fud_sqlite.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-01-04 12:02:45 -0600
committerDominick Allen <djallen@librehumanitas.org>2025-01-04 12:02:45 -0600
commit1d357adfa19725ee69fb267a363f1fd217b1272f (patch)
tree8d8710ba8ba7dff0b3da6b073fbb94f1a7b03ec5 /include/fud_sqlite.hpp
parent0b400af9519444deef4cc6ad2c43c30e2092ab4f (diff)
Various style fixes.HEADmaster
Diffstat (limited to 'include/fud_sqlite.hpp')
-rw-r--r--include/fud_sqlite.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fud_sqlite.hpp b/include/fud_sqlite.hpp
index b2d2f5b..7ab3ef8 100644
--- a/include/fud_sqlite.hpp
+++ b/include/fud_sqlite.hpp
@@ -48,6 +48,8 @@ class SqliteDb {
public:
static SqliteDbResult make(const String& name, SqliteOpenMode mode, int extraFlags = 0);
+ static SqliteDbResult make(StringView name, SqliteOpenMode mode, int extraFlags = 0);
+
static SqliteDbResult make(const char* cStrName, SqliteOpenMode mode, int extraFlags = 0);
SqliteDb(const SqliteDb&) = delete;
@@ -81,6 +83,8 @@ class SqliteDb {
}
private:
+ static SqliteDbResult finishMake(SqliteOpenMode& mode, int& extraFlags, SqliteDb&& sqlDb);
+
// private methods
FudStatus initialize();