Addon connect dialog. More...
#include <addon_connect.hpp>


Public Member Functions | |
| taddon_connect (std::string &host_name, const bool allow_updates, const bool allow_remove) | |
| Constructor. | |
Private Member Functions | |
| virtual const std::string & | window_id () const |
| Inherited from tdialog, implemented by REGISTER_DIALOG. | |
| void | pre_show (CVideo &video, twindow &window) |
| Inherited from tdialog. | |
| void | post_show (twindow &window) |
| Inherited from tdialog. | |
Private Attributes | |
| bool | allow_updates_ |
| Enable the update addon button? | |
| bool | allow_remove_ |
| Enable the addon remove button? | |
Addon connect dialog.
Definition at line 24 of file addon_connect.hpp.
| gui2::taddon_connect::taddon_connect | ( | std::string & | host_name, | |
| const bool | allow_updates, | |||
| const bool | allow_remove | |||
| ) |
Constructor.
| host_name | [in] The initial value for the host_name. | |
| host_name | [out] The final value of the host_name if the dialog returns twindow::OK or 3 undefined otherwise. | |
| allow_updates | Sets allow_updates_. | |
| allow_remove | Sets allow_remove_. |
Definition at line 47 of file addon_connect.cpp.
| void gui2::taddon_connect::post_show | ( | twindow & | window | ) | [private, virtual] |
Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 62 of file addon_connect.cpp.
References gui2::tdialog::get_retval(), gui2::twindow::OK, and gui2::ttext_box::save_to_history().

Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 56 of file addon_connect.cpp.
References allow_remove_.
| virtual const std::string& gui2::taddon_connect::window_id | ( | ) | const [private, virtual] |
Inherited from tdialog, implemented by REGISTER_DIALOG.
Implements gui2::tdialog.
bool gui2::taddon_connect::allow_remove_ [private] |
Enable the addon remove button?
Definition at line 48 of file addon_connect.hpp.
Referenced by pre_show().
bool gui2::taddon_connect::allow_updates_ [private] |
Enable the update addon button?
Definition at line 45 of file addon_connect.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:59 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |