• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

Syndication Library

enclosure.h

00001 /*
00002  * This file is part of the syndication library
00003  *
00004  * Copyright (C) 2006 Frank Osterfeld <osterfeld@kde.org>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.
00020  *
00021  */
00022 
00023 #ifndef SYNDICATION_ENCLOSURE_H
00024 #define SYNDICATION_ENCLOSURE_H
00025 
00026 #include "ksyndication_export.h"
00027 
00028 #include <boost/shared_ptr.hpp>
00029 
00030 namespace Syndication {
00031 
00032 class Enclosure;
00033 //@cond PRIVATE
00034 typedef boost::shared_ptr<Enclosure> EnclosurePtr;
00035 //@endcond
00036 
00045 class SYNDICATION_EXPORT Enclosure
00046 {
00047     public:
00048 
00052         virtual ~Enclosure();
00053 
00057         virtual bool isNull() const = 0;
00058 
00062         virtual QString url() const = 0;
00063 
00073         virtual QString title() const = 0;
00074 
00085         virtual QString type() const = 0;
00086 
00092         virtual uint length() const = 0;
00093 
00094 
00100         virtual uint duration() const = 0;
00101 
00107         virtual QString debugInfo() const;
00108 };
00109 
00110 } // namespace Syndication
00111 
00112 #endif // SYNDICATION_ENCLOSURE_H

Syndication Library

Skip menu "Syndication Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.2-20100208
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal