X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorebacklogmanager.h;h=d1f225c01efe86a2fc72bcf447b098def7ffaa21;hp=54d9f06e47ee3bac1f8ea00e3b3c258d5aebbd61;hb=800b9cc3f9730953c74156f31aeff4d59ec7bade;hpb=de1619ce11bf386490cdb38bc1be134a391eeaae diff --git a/src/core/corebacklogmanager.h b/src/core/corebacklogmanager.h index 54d9f06e..d1f225c0 100644 --- a/src/core/corebacklogmanager.h +++ b/src/core/corebacklogmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-2013 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef COREBACKLOGMANAGER_H @@ -25,19 +25,23 @@ class CoreSession; -class CoreBacklogManager : public BacklogManager { - Q_OBJECT +class CoreBacklogManager : public BacklogManager +{ + SYNCABLE_OBJECT + Q_OBJECT public: - CoreBacklogManager(CoreSession *coreSession = 0); + CoreBacklogManager(CoreSession *coreSession = 0); - CoreSession *coreSession() { return _coreSession; } + CoreSession *coreSession() { return _coreSession; } public slots: - virtual QVariantList requestBacklog(BufferId bufferId, MsgId first = -1, MsgId last = -1, int limit = -1); + virtual QVariantList requestBacklog(BufferId bufferId, MsgId first = -1, MsgId last = -1, int limit = -1, int additional = 0); + virtual QVariantList requestBacklogAll(MsgId first = -1, MsgId last = -1, int limit = -1, int additional = 0); private: - CoreSession *_coreSession; + CoreSession *_coreSession; }; + #endif // COREBACKLOGMANAGER_H