X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbacklogmanager.cpp;h=10717cf7b22e0a2d759e77f908870e8f62dd9d20;hp=63752517f2c7b7acaebe58519b3c7e0809f5cc5a;hb=35ca85f1c4371ee28d00d5ff0195a5b44aadb299;hpb=fb011e52bc6613198a65e037f0752f6361339aeb diff --git a/src/common/backlogmanager.cpp b/src/common/backlogmanager.cpp index 63752517..10717cf7 100644 --- a/src/common/backlogmanager.cpp +++ b/src/common/backlogmanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,12 +15,21 @@ * 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. * ***************************************************************************/ #include "backlogmanager.h" -QVariantList BacklogManager::requestBacklog(BufferId bufferId, int lastMsgs, int offset) { - emit backlogRequested(bufferId, lastMsgs, offset); - return QVariantList(); +INIT_SYNCABLE_OBJECT(BacklogManager) +QVariantList BacklogManager::requestBacklog(BufferId bufferId, MsgId first, MsgId last, int limit, int additional) +{ + REQUEST(ARG(bufferId), ARG(first), ARG(last), ARG(limit), ARG(additional)) + return QVariantList(); +} + + +QVariantList BacklogManager::requestBacklogAll(MsgId first, MsgId last, int limit, int additional) +{ + REQUEST(ARG(first), ARG(last), ARG(limit), ARG(additional)) + return QVariantList(); }