diff options
Diffstat (limited to 'Database/Common/commonactions.h')
| -rw-r--r-- | Database/Common/commonactions.h | 31 |
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 |
