X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fstorage.h;h=5d47c097fa23d465cb3e56a5c5816f53deb3865b;hp=b49aee0ac3047d07de0d4989eed066ad0b0fd5af;hb=b134e777b822b929a78455fd92146bf7443e9aa1;hpb=a95ad2de573027f9bee36db972bcae4195168d0c diff --git a/src/core/storage.h b/src/core/storage.h index b49aee0a..5d47c097 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -386,6 +386,12 @@ public slots: */ virtual void setBufferLastSeenMsg(UserId user, const BufferId& bufferId, const MsgId& msgId) = 0; + //! Get a Hash of all last message ids + /** This Method is called when the Quassel Core is started to restore the lastMsgIds + * \param user The Owner of the buffers + */ + virtual QHash bufferLastMsgIds(UserId user) = 0; + //! Get a Hash of all last seen message ids /** This Method is called when the Quassel Core is started to restore the lastSeenMsgIds * \param user The Owner of the buffers