X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fbacklogmanager.cpp;h=9f21b287a8994198f3be6cd841c1fcb5c8f9fc92;hb=8b8ec8597367d13527e9e7a46e184ee99a7d5f32;hp=63752517f2c7b7acaebe58519b3c7e0809f5cc5a;hpb=fb011e52bc6613198a65e037f0752f6361339aeb;p=quassel.git diff --git a/src/common/backlogmanager.cpp b/src/common/backlogmanager.cpp index 63752517..9f21b287 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-2016 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(); }