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 | /** |
22 | * @internal |
23 | */ |
24 | class : public Syndication::Feed |
25 | { |
26 | public: |
27 | explicit (Syndication::RSS2::DocumentPtr doc); |
28 | |
29 | Syndication::SpecificDocumentPtr () const override; |
30 | |
31 | QList<ItemPtr> () const override; |
32 | |
33 | QList<CategoryPtr> () const override; |
34 | |
35 | QString () const override; |
36 | |
37 | QString () const override; |
38 | |
39 | QString () const override; |
40 | |
41 | QList<PersonPtr> () const override; |
42 | |
43 | QString () const override; |
44 | |
45 | QString () const override; |
46 | |
47 | ImagePtr () const override; |
48 | |
49 | ImagePtr () const override; |
50 | |
51 | QMultiMap<QString, QDomElement> () const override; |
52 | |
53 | private: |
54 | Syndication::RSS2::DocumentPtr ; |
55 | }; |
56 | |
57 | } // namespace Syndication |
58 | |
59 | #endif // SYNDICATION_MAPPER_FEEDRSS2IMPL_H |
60 | |