From 9e67c13e587ccf10084144fea033beda316faed5 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 7 Apr 2013 03:13:14 +0200 Subject: add support for reading announcements & stickies --- fetchtopicsaction.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'fetchtopicsaction.h') diff --git a/fetchtopicsaction.h b/fetchtopicsaction.h index 307e528..f028ccb 100644 --- a/fetchtopicsaction.h +++ b/fetchtopicsaction.h @@ -3,6 +3,8 @@ #include #include + +#include "board.h" #include "action.h" class XmlRpcPendingCall; @@ -11,12 +13,12 @@ class FetchTopicsAction : public Action { Q_OBJECT public: - explicit FetchTopicsAction(int forumId, int start, int end, Board *board); - enum { FetchAllTopics = -1 }; + explicit FetchTopicsAction(int forumId, Board::TopicType type, int start, int end, Board *board); + bool isSupersetOf(Action *action) const; void execute(); @@ -31,6 +33,7 @@ private: private: XmlRpcPendingCall *_call; int _forumId; + Board::TopicType _type; int _start; int _end; }; -- cgit v1.2.3