X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fstorage.h;h=5743853dddc4f7138ad24d9b7f9d164262722aad;hp=9bf9a0ad119ae9e357b10efd85d72651b0121723;hb=26b9300ccab24e526a9f43bef95a2a70f59161df;hpb=f7e987956ef7e469a493a669e2f0c0901f5a7ead;ds=sidebyside diff --git a/src/core/storage.h b/src/core/storage.h index 9bf9a0ad..5743853d 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -292,11 +292,11 @@ class Storage : public QObject { //! Request a certain number (or all) messages stored in a given buffer. /** \param buffer The buffer we request messages from - * \param lastmsgs The number of messages we would like to receive, or -1 if we'd like all messages from that buffername + * \param limit The number of messages we would like to receive, or -1 if we'd like all messages from that buffername * \param offset Do not return (but DO count) messages with MsgId >= offset, if offset >= 0 * \return The requested list of messages */ - virtual QList requestMsgs(UserId user, BufferId buffer, int lastmsgs = -1, int offset = -1) = 0; + virtual QList requestMsgs(UserId user, BufferId buffer, int limit = -1, int offset = -1) = 0; //! Request messages stored in a given buffer since a certain point in time. /** \param buffer The buffer we request messages from