19 #ifndef UBUNTU_DOWNLOADMANAGER_CLIENT_DOWNLOAD_LIST_H 20 #define UBUNTU_DOWNLOADMANAGER_CLIENT_DOWNLOAD_LIST_H 24 #include <QSharedPointer> 28 namespace DownloadManager {
40 virtual QList<QSharedPointer<Download> >
downloads()
const = 0;
41 virtual bool isError()
const = 0;
49 #endif // UBUNTU_DOWNLOADMANAGER_CLIENT_DOWNLOAD_LIST_H virtual bool isError() const =0
The Error class is the base class that represents an error in the download manager API...
virtual Error * error() const =0
DownloadsList(QObject *parent=0)
virtual QList< QSharedPointer< Download > > downloads() const =0