X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fstorage.h;h=d5ece50fc84d85f1d45e9eda587219855555cbfd;hb=df38a9238d603ec8d2040619befa50980d994916;hp=b49aee0ac3047d07de0d4989eed066ad0b0fd5af;hpb=a95ad2de573027f9bee36db972bcae4195168d0c;p=quassel.git diff --git a/src/core/storage.h b/src/core/storage.h index b49aee0a..d5ece50f 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -56,7 +56,6 @@ public: }; -public slots: /* General */ //! Check if the storage type is available. @@ -386,6 +385,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