mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
NOISSUE refactor *Download into more, smaller pieces
* Download is now Download. * Download uses Sink subclasses to process various events. * Validators can be used to further customize the Sink behaviour.
This commit is contained in:
parent
a750f6e63c
commit
a1abbd9e05
51 changed files with 824 additions and 765 deletions
|
|
@ -18,6 +18,11 @@
|
|||
#include "tasks/Task.h"
|
||||
#include <memory>
|
||||
|
||||
namespace Net
|
||||
{
|
||||
class Download;
|
||||
}
|
||||
|
||||
class BaseWonkoEntity;
|
||||
class WonkoIndex;
|
||||
class WonkoVersionList;
|
||||
|
|
@ -43,7 +48,7 @@ private:
|
|||
void executeTask() override;
|
||||
|
||||
BaseWonkoEntity *m_entity;
|
||||
std::shared_ptr<class CacheDownload> m_dl;
|
||||
std::shared_ptr<Net::Download> m_dl;
|
||||
};
|
||||
|
||||
class WonkoIndexRemoteLoadTask : public BaseWonkoEntityRemoteLoadTask
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue