summaryrefslogtreecommitdiff
path: root/fetchpostsaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetchpostsaction.h')
-rw-r--r--fetchpostsaction.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/fetchpostsaction.h b/fetchpostsaction.h
index e122622..66e6c73 100644
--- a/fetchpostsaction.h
+++ b/fetchpostsaction.h
@@ -11,12 +11,15 @@ class FetchPostsAction : public Action
{
Q_OBJECT
public:
- explicit FetchPostsAction(int topicId, int start, int end, Board *board);
-
enum {
- FetchAllPosts = -1
+ /** Use as 'end' parameter; 'start' then indicates starting post. */
+ FetchAllPosts = -1,
+ /** Use as 'start' parameter; 'end' then indicates number of posts. */
+ FetchUnreadPosts = -2
};
+ explicit FetchPostsAction(int topicId, int start, int end, Board *board);
+
bool isSupersetOf(Action *action) const;
void execute();