aboutsummaryrefslogtreecommitdiff
path: root/Database/Common/commonactions.h
diff options
context:
space:
mode:
authorDarkelarious <github@333networks.com>2025-03-08 15:11:53 +0100
committerDarkelarious <github@333networks.com>2025-03-08 15:11:53 +0100
commit74ff50c5ca343b5829287f6e7ee2b916aa29720e (patch)
tree00011aba29c389b17e9a1c538e552fbe1c6e131e /Database/Common/commonactions.h
parent920fa82d1e184732205fcbbd96b2143f9503e8e3 (diff)
downloadMasterserver-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/Common/commonactions.h')
-rw-r--r--Database/Common/commonactions.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/Database/Common/commonactions.h b/Database/Common/commonactions.h
deleted file mode 100644
index 3bce0b6..0000000
--- a/Database/Common/commonactions.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef COMMONACTIONS_H
-#define COMMONACTIONS_H
-
-#include <QDateTime>
-#include "Database/databaseinterface.h"
-#include "Logger/logprimitive.h"
-
-// insert, update or delete a server from the list
-bool insertServer(const QString &serverAddress,
- const unsigned short &serverPort,
- const QString &gamename,
- const bool &directBeacon);
-
-bool updateServer(const QString &serverAddress,
- const unsigned short &serverPort,
- const QString &gamename,
- const bool &directBeacon,
- const bool &authenticated);
-
-bool existServer(const QString &serverAddress,
- const unsigned short &serverPort);
-
-QSqlQuery selectServerList(const QString &gamename,
- const int &serverAge_s,
- const bool &withSyncData);
-
-QStringList getGamenames(const int &serverAge_s);
-
-QHash<QString, int> getNumGames(const int &serverAge_s);
-
-#endif // COMMONACTIONS_H