LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
LeechCraft::Util::DownloadHandler Class Reference

#include "downloadhandler.h"

+ Inheritance diagram for LeechCraft::Util::DownloadHandler:
+ Collaboration diagram for LeechCraft::Util::DownloadHandler:

Public Types

using DataHandler_t = EitherCont< void(IDownload::Error), void(QByteArray)>
 
using EntityHandler_t = EitherCont< void(IDownload::Error), void()>
 

Public Member Functions

 DownloadHandler (const QUrl &url, const QVariantMap &additional, IEntityManager *iem, const DataHandler_t &, QObject *parent=nullptr)
 
 DownloadHandler (const QUrl &url, IEntityManager *iem, const DataHandler_t &, QObject *parent=nullptr)
 
 DownloadHandler (const Entity &e, IEntityManager *iem, const EntityHandler_t &, QObject *parent=nullptr)
 

Detailed Description

Definition at line 44 of file downloadhandler.h.

Member Typedef Documentation

Definition at line 53 of file downloadhandler.h.

Constructor & Destructor Documentation

LeechCraft::Util::DownloadHandler::DownloadHandler ( const QUrl &  url,
IEntityManager iem,
const DataHandler_t cont,
QObject *  parent = nullptr 
)

Definition at line 83 of file downloadhandler.cpp.

LeechCraft::Util::DownloadHandler::DownloadHandler ( const Entity e,
IEntityManager iem,
const EntityHandler_t cont,
QObject *  parent = nullptr 
)

Definition at line 91 of file downloadhandler.cpp.

References LeechCraft::Util::EitherCont< LeftSig, RightSig >::Left(), and LeechCraft::Util::EitherCont< LeftSig, RightSig >::Right().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: