LeechCraft  0.6.70-10870-g558588d6ec
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

◆ DataHandler_t

Definition at line 53 of file downloadhandler.h.

◆ EntityHandler_t

Constructor & Destructor Documentation

◆ DownloadHandler() [1/3]

◆ DownloadHandler() [2/3]

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

Definition at line 83 of file downloadhandler.cpp.

◆ DownloadHandler() [3/3]

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

Definition at line 91 of file downloadhandler.cpp.


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