summaryrefslogtreecommitdiffstats
path: root/libksirtet/common/highscores.h
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/common/highscores.h')
-rw-r--r--libksirtet/common/highscores.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libksirtet/common/highscores.h b/libksirtet/common/highscores.h
new file mode 100644
index 00000000..f04c0d2e
--- /dev/null
+++ b/libksirtet/common/highscores.h
@@ -0,0 +1,20 @@
+#ifndef COMMON_HIGHSCORES_H
+#define COMMON_HIGHSCORES_H
+
+#include "base/highscores.h"
+
+#include "lib/libksirtet_export.h"
+
+class LIBKSIRTET_EXPORT CommonHighscores : public BaseHighscores
+{
+ public:
+ CommonHighscores();
+
+ private:
+ void convertLegacy(uint level);
+ bool isStrictlyLess(const KExtHighscore::Score &,
+ const KExtHighscore::Score &) const;
+ void additionalQueryItems(KURL &, const KExtHighscore::Score &) const;
+};
+
+#endif