15 #ifndef GUI_DIALOGS_NETWORK_RECEIVE_HPP_INCLUDED
16 #define GUI_DIALOGS_NETWORK_RECEIVE_HPP_INCLUDED
21 #include <boost/optional.hpp>
40 virtual size_t total() {
return 0; }
44 virtual void poll() = 0;
57 : connection_(connection),
window_()
void post_show(twindow &window)
Inherited from tdialog.
Dialog that tracks network transmissions.
virtual ~connection_data()
void pre_show(twindow &window)
Inherited from tdialog.
gui2::tnetwork_transmission::pump_monitor pump_monitor_
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
connection_data *& connection_
Abstract base class for all dialogs.
void set_connection_data(connection_data &connection)
pump_monitor(connection_data *&connection)
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
virtual bool finished()=0
connection_data * connection_
tnetwork_transmission(connection_data &connection, const std::string &title, const std::string &subtitle)
void set_subtitle(const std::string &)
boost::optional< twindow & > window_
virtual void process(events::pump_info &)
GLsizei const GLcharARB ** string
std::string subtitle_
The subtitle for the dialog.