From 74ff50c5ca343b5829287f6e7ee2b916aa29720e Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Sat, 8 Mar 2025 15:11:53 +0100 Subject: reorganise files Sort out code/source files that were mixed with other repository files. No new functional changes. --- Database/Common/commonactions.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 Database/Common/commonactions.h (limited to 'Database/Common/commonactions.h') 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 -#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 getNumGames(const int &serverAge_s); - -#endif // COMMONACTIONS_H -- cgit v1.2.3