25#ifndef DOWNLOAD_MGR_H__
26#define DOWNLOAD_MGR_H__
29#include <wx/progdlg.h>
32#include "downloader.h"
33#include "catalog_parser.h"
36wxDECLARE_EVENT(EVT_PLUGINS_RELOAD, wxCommandEvent);
42 wxWindow* GetRealParent() {
return m_parent; }
50 wxProgressDialog* m_dialog;
56 std::string run(wxWindow* parent,
bool remove_current);
57 void on_chunk(
const char* buff,
unsigned bytes)
override;
58 void showErrorDialog(
const char* msg);
Handle downloading of files from remote urls.
Add progress and final message dialogs to the basic Downloader.
void on_chunk(const char *buff, unsigned bytes) override
Called when given bytes has been transferred from remote.