24#ifndef DOWNLOAD_MGR_H__
25#define DOWNLOAD_MGR_H__
28#include <wx/progdlg.h>
35wxDECLARE_EVENT(EVT_PLUGINS_RELOAD, wxCommandEvent);
44 wxWindow* GetRealParent() {
return m_parent; }
53 wxProgressDialog* m_dialog;
59 std::string run(wxWindow* parent,
bool remove_current);
60 void on_chunk(
const char* buff,
unsigned bytes)
override;
61 void showErrorDialog(
const char* msg);
Datatypes and methods to parse ocpn-plugins.xml XML data, either complete catalog or a single plugin.
Default downloader, usable in a CLI context.
Downloader with progress and final message dialogs.
void on_chunk(const char *buff, unsigned bytes) override
Called when given bytes has been transferred from remote.
Dialog for downloading plugins.
Handle downloading of files from remote urls.