1 | /* |
2 | This file is part of the syndication library |
3 | SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.0-or-later |
6 | */ |
7 | |
8 | #ifndef SYNDICATION_MAPPER_FEEDRSS2IMPL_H |
9 | #define |
10 | |
11 | #include <feed.h> |
12 | #include <rss2/document.h> |
13 | |
14 | namespace Syndication |
15 | { |
16 | class FeedRSS2Impl; |
17 | typedef QSharedPointer<FeedRSS2Impl> ; |
18 | class Image; |
19 | typedef QSharedPointer<Image> ImagePtr; |
20 | |
21 | class : public Syndication::Feed |
22 | { |
23 | public: |
24 | explicit (Syndication::RSS2::DocumentPtr doc); |
25 | |
26 | Syndication::SpecificDocumentPtr () const override; |
27 | |
28 | QList<ItemPtr> () const override; |
29 | |
30 | QList<CategoryPtr> () const override; |
31 | |
32 | QString () const override; |
33 | |
34 | QString () const override; |
35 | |
36 | QString () const override; |
37 | |
38 | QList<PersonPtr> () const override; |
39 | |
40 | QString () const override; |
41 | |
42 | QString () const override; |
43 | |
44 | ImagePtr () const override; |
45 | |
46 | ImagePtr () const override; |
47 | |
48 | QMultiMap<QString, QDomElement> () const override; |
49 | |
50 | private: |
51 | Syndication::RSS2::DocumentPtr ; |
52 | }; |
53 | |
54 | } // namespace Syndication |
55 | |
56 | #endif // SYNDICATION_MAPPER_FEEDRSS2IMPL_H |
57 | |