projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix ident race condition
[quassel.git]
/
src
/
core
/
corebacklogmanager.h
diff --git
a/src/core/corebacklogmanager.h
b/src/core/corebacklogmanager.h
index
0272bbb
..
cda1e63
100644
(file)
--- 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-
2015 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 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., *
* 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., *
- * 5
9 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
+ * 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
***************************************************************************/
#ifndef COREBACKLOGMANAGER_H
***************************************************************************/
#ifndef COREBACKLOGMANAGER_H
@@
-25,21
+25,23
@@
class CoreSession;
class CoreSession;
-class CoreBacklogManager : public BacklogManager {
- Q_OBJECT
+class CoreBacklogManager : public BacklogManager
+{
+ SYNCABLE_OBJECT
+ Q_OBJECT
public:
public:
- CoreBacklogManager(CoreSession *coreSession = 0);
+
CoreBacklogManager(CoreSession *coreSession = 0);
- virtual const QMetaObject *syncMetaObject() const { return &BacklogManager::staticMetaObject; }
-
- CoreSession *coreSession() { return _coreSession; }
+ CoreSession *coreSession() { return _coreSession; }
public slots:
public slots:
- virtual QVariantList requestBacklog(BufferId bufferId, int lastMsgs = -1, int offset = -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:
private:
- CoreSession *_coreSession;
+
CoreSession *_coreSession;
};
};
+
#endif // COREBACKLOGMANAGER_H
#endif // COREBACKLOGMANAGER_H