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 | /** |
21 | * |
22 | * @internal |
23 | * @author Frank Osterfeld |
24 | */ |
25 | class : public Syndication::Enclosure |
26 | { |
27 | public: |
28 | explicit (const Syndication::RSS2::Item &item, const Syndication::RSS2::Enclosure &enc); |
29 | |
30 | Q_REQUIRED_RESULT bool () const override; |
31 | |
32 | Q_REQUIRED_RESULT QString () const override; |
33 | |
34 | Q_REQUIRED_RESULT QString () const override; |
35 | |
36 | Q_REQUIRED_RESULT QString () const override; |
37 | |
38 | Q_REQUIRED_RESULT uint () const override; |
39 | |
40 | Q_REQUIRED_RESULT uint () const override; |
41 | |
42 | private: |
43 | Syndication::RSS2::Item ; |
44 | Syndication::RSS2::Enclosure ; |
45 | }; |
46 | |
47 | } // namespace Syndication |
48 | |
49 | #endif // SYNDICATION_MAPPER_ENCLOSURERSS2IMPL_H |
50 | |