aboutsummaryrefslogtreecommitdiff
path: root/Maintenance/maintenance.h
diff options
context:
space:
mode:
Diffstat (limited to 'Maintenance/maintenance.h')
-rw-r--r--Maintenance/maintenance.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/Maintenance/maintenance.h b/Maintenance/maintenance.h
deleted file mode 100644
index b7a63a2..0000000
--- a/Maintenance/maintenance.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef MAINTENANCE_H
-#define MAINTENANCE_H
-
-#include <QTimer>
-
-#include "Core/CoreObject/coreobject.h"
-#include "Database/databaseinterface.h"
-
-class Maintenance: public QObject
-{
- Q_OBJECT
-
-public:
- Maintenance(const QSharedPointer<CoreObject> &coreObject);
- bool scheduleMaintenance();
-
-private:
- QSharedPointer<CoreObject> _coreObject;
-
- // schedule timer
- QTimer _maintenanceTimer;
-
-private:
- int updateStats();
- int pruneBeacons();
- int pruneServerInfo();
- int prunePlayers();
-
-private slots:
- void onMaintenanceTimerAction();
-};
-
-#endif // MAINTENANCE_H