18#ifndef HEADER_DOWNLOAD_ASSETS_HPP
19#define HEADER_DOWNLOAD_ASSETS_HPP
23#include "guiengine/widgets.hpp"
24#include "guiengine/modaldialog.hpp"
25#include "utils/cpp2011.hpp"
27class DownloadAssetsRequest;
44 std::shared_ptr<DownloadAssetsRequest> m_download_request;
50 virtual GUIEngine::EventPropagation
processEvent(
const std::string& event_source) OVERRIDE;
52 virtual
void init() OVERRIDE;
53 void onUpdate(
float delta) OVERRIDE;
54 virtual
bool onEscapePressed() OVERRIDE;
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
virtual void beforeAddingWidgets()
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: modaldialog.hpp:123
virtual EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: modaldialog.hpp:101