/****************************************************************************
**
** Copyright (C) 2012 Róbert Márki
**
** This file is part of Web Feeds.
**
** Web Feeds is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Web Feeds is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with Web Feeds.  If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/

#ifndef STORYLISTREPLY_H
#define STORYLISTREPLY_H
#include "googlereaderreply.h"
#include "storyitem.h"
#include "googlereaderenum.h"

namespace GoogleReader
{
class GoogleReaderClient;
class StoryListReply : public GoogleReaderReply
{
    Q_OBJECT
public:
    explicit StoryListReply();
    WebServiceReply::Role role() const;
    QList<PageItemPtr> stories() const;
    QString continuation() const;

private:
    QList<PageItemPtr> m_stories;
    QString m_continuation;
    GoogleReaderEnum::ItemFilterType m_filterType;

    friend class GoogleReaderClient;
};
typedef QSharedPointer<StoryListReply> StoryListReplyPtr;
} // namespace GoogleReader
#endif // STORYLISTREPLY_H
