diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-10-21 02:35:01 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-10-21 02:35:01 +0400 |
commit | 146cc63a15ca23da96487734ae5dba4d2e63d4d9 (patch) | |
tree | 68a8b5bef17e96841c2e2363c52a523e9b04d47a /src/mumble/Database.h | |
parent | 3b234512f97cbbef2dbe4e05519baf7e471bb4ce (diff) |
Cache pingsort
Diffstat (limited to 'src/mumble/Database.h')
-rw-r--r-- | src/mumble/Database.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mumble/Database.h b/src/mumble/Database.h index f5fba45c8..1247fcf89 100644 --- a/src/mumble/Database.h +++ b/src/mumble/Database.h @@ -56,6 +56,9 @@ class Database : public QObject { static bool isLocalMuted(const QString &hash); static void setLocalMuted(const QString &hash, bool muted); + + static QMap<QPair<QString, unsigned short>, unsigned int> getPingCache(); + static void setPingCache(const QMap<QPair<QString, unsigned short>, unsigned int> &cache); static bool seenComment(const QString &hash, const QString &comment); static void setSeenComment(const QString &hash, const QString &comment); |