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_ENCLOSURERSS2IMPL_H |
9 | #define |
10 | |
11 | #include <enclosure.h> |
12 | #include <rss2/enclosure.h> |
13 | #include <rss2/item.h> |
14 | |
15 | namespace Syndication |
16 | { |
17 | class EnclosureRSS2Impl; |
18 | typedef QSharedPointer<EnclosureRSS2Impl> ; |
19 | |
20 | class : public Syndication::Enclosure |
21 | { |
22 | public: |
23 | explicit (const Syndication::RSS2::Item &item, const Syndication::RSS2::Enclosure &enc); |
24 | |
25 | Q_REQUIRED_RESULT bool () const override; |
26 | |
27 | Q_REQUIRED_RESULT QString () const override; |
28 | |
29 | Q_REQUIRED_RESULT QString () const override; |
30 | |
31 | Q_REQUIRED_RESULT QString () const override; |
32 | |
33 | Q_REQUIRED_RESULT uint () const override; |
34 | |
35 | Q_REQUIRED_RESULT uint () const override; |
36 | |
37 | private: |
38 | Syndication::RSS2::Item ; |
39 | Syndication::RSS2::Enclosure ; |
40 | }; |
41 | |
42 | } // namespace Syndication |
43 | |
44 | #endif // SYNDICATION_MAPPER_ENCLOSURERSS2IMPL_H |
45 | |