X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbacklogmanager.cpp;h=c45275664c92d98245477a135c662e2b86ccbb29;hp=cbe21e9455e80b81cd75af92eef90e28d36dc54e;hb=ac654fdeeece68d64561920479f064ad3c237e26;hpb=26b9300ccab24e526a9f43bef95a2a70f59161df diff --git a/src/common/backlogmanager.cpp b/src/common/backlogmanager.cpp index cbe21e94..c4527566 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-2013 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 limit, int offset) { - emit backlogRequested(bufferId, limit, 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(); }