summaryrefslogtreecommitdiff
path: root/include/fud_sqlite.hpp
diff options
context:
space:
mode:
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();