Syndication

rss2/enclosure.h
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2005 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef SYNDICATION_RSS2_ENCLOSURE_H
9 #define SYNDICATION_RSS2_ENCLOSURE_H
10 
11 #include <syndication/elementwrapper.h>
12 
13 class QDomElement;
14 class QString;
15 
16 namespace Syndication
17 {
18 namespace RSS2
19 {
20 
29 class SYNDICATION_EXPORT Enclosure : public ElementWrapper
30 {
31 public:
32 
37  Enclosure();
38 
44  explicit Enclosure(const QDomElement &element);
45 
49  QString url() const;
50 
54  int length() const;
55 
60  QString type() const;
61 
67  QString debugInfo() const;
68 };
69 
70 } // namespace RSS2
71 } // namespace Syndication
72 
73 #endif // SYNDICATION_RSS2_ENCLOSURE_H
A wrapper for XML elements.
Describes a media object that is "attached" to the item.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 14 2020 23:02:23 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.