X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbacklogmanager.cpp;h=449b9cd52db87045d372bd76ff322ac72ff6bfd2;hp=63752517f2c7b7acaebe58519b3c7e0809f5cc5a;hb=2a00e8f57d66d9913a10c30408b89676a74010a1;hpb=fb011e52bc6613198a65e037f0752f6361339aeb diff --git a/src/common/backlogmanager.cpp b/src/common/backlogmanager.cpp index 63752517..449b9cd5 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-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,7 +20,13 @@ #include "backlogmanager.h" -QVariantList BacklogManager::requestBacklog(BufferId bufferId, int lastMsgs, int offset) { - emit backlogRequested(bufferId, lastMsgs, offset); +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(); }