/* This file is part of the syndication library SPDX-FileCopyrightText: 2006 Frank Osterfeld SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef SYNDICATION_MAPPER_ITEMRSS2IMPL_H #define SYNDICATION_MAPPER_ITEMRSS2IMPL_H #include #include namespace Syndication { class ItemRSS2Impl; typedef QSharedPointer ItemRSS2ImplPtr; /** * @internal */ class ItemRSS2Impl : public Syndication::Item { public: explicit ItemRSS2Impl(const Syndication::RSS2::Item &item); QString title() const override; QString link() const override; QString description() const override; QString content() const override; QList authors() const override; QString language() const override; QString id() const override; time_t datePublished() const override; time_t dateUpdated() const override; QList enclosures() const override; QList categories() const override; SpecificItemPtr specificItem() const override; int commentsCount() const override; QString commentsLink() const override; QString commentsFeed() const override; QString commentPostUri() const override; QMultiMap additionalProperties() const override; private: Syndication::RSS2::Item m_item; }; } // namespace Syndication #endif // SYNDICATION_MAPPER_ITEMRSS2IMPL_H