diff options
| author | Darkelarious <github@333networks.com> | 2025-03-08 15:11:53 +0100 |
|---|---|---|
| committer | Darkelarious <github@333networks.com> | 2025-03-08 15:11:53 +0100 |
| commit | 74ff50c5ca343b5829287f6e7ee2b916aa29720e (patch) | |
| tree | 00011aba29c389b17e9a1c538e552fbe1c6e131e /Database/databaseinterface.h | |
| parent | 920fa82d1e184732205fcbbd96b2143f9503e8e3 (diff) | |
| download | Masterserver-Qt5-74ff50c5ca343b5829287f6e7ee2b916aa29720e.tar.gz Masterserver-Qt5-74ff50c5ca343b5829287f6e7ee2b916aa29720e.zip | |
reorganise files
Sort out code/source files that were mixed with other repository files. No new functional changes.
Diffstat (limited to 'Database/databaseinterface.h')
| -rw-r--r-- | Database/databaseinterface.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Database/databaseinterface.h b/Database/databaseinterface.h deleted file mode 100644 index f80c93a..0000000 --- a/Database/databaseinterface.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef DATABASEINTERFACE_H -#define DATABASEINTERFACE_H - -#include <QSqlDatabase> -#include <QSqlQuery> -#include <QSqlError> -#include <QDataStream> -#include "Core/version.h" -#include "Logger/logprimitive.h" - -// database file path (following README structure) -const QString _sqlitePath = "../data/masterserver.db"; - -// init and close -bool initDatabase(const QString applicationPath); -void closeDatabase(); - -// report execution errors (terminal/display only) -bool reportQuery(const QSqlQuery &q); // always returns false! - -// generate tables in first run -bool createTables(); - -#endif // DATABASEINTERFACE_H |
