diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-01-26 16:01:04 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-01-26 16:01:04 +0300 |
commit | 63568fd8c73106e82fb1a2cd04190e2c58948217 (patch) | |
tree | 00cdb184c456572384e49e5693910cb7fba096ff /src/mumble/Database.h | |
parent | e51a048fe9c259e0f1dbacadd686ddf63c229eeb (diff) |
Client-side blob cache for comments
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 afad29676..4167acdca 100644 --- a/src/mumble/Database.h +++ b/src/mumble/Database.h @@ -63,6 +63,9 @@ class Database : public QObject { static bool seenComment(const QString &hash, const QString &comment); static bool seenComment(const QString &hash, const QByteArray &commenthash); static void setSeenComment(const QString &hash, const QString &comment); + + static QByteArray blob(const QByteArray &hash); + static void setBlob(const QByteArray &hash, const QByteArray &blob); static QStringList getTokens(const QByteArray &digest); static void setTokens(const QByteArray &digest, QStringList &tokens); |