Public Member Functions | Private Member Functions | Private Attributes

gui2::taddon_connect Class Reference

Addon connect dialog. More...

#include <addon_connect.hpp>

Inheritance diagram for gui2::taddon_connect:
Inheritance graph
[legend]
Collaboration diagram for gui2::taddon_connect:
Collaboration graph
[legend]

List of all members.

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?

Detailed Description

Addon connect dialog.

Definition at line 24 of file addon_connect.hpp.


Constructor & Destructor Documentation

gui2::taddon_connect::taddon_connect ( std::string &  host_name,
const bool  allow_updates,
const bool  allow_remove 
)

Constructor.

Parameters:
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.


Member Function Documentation

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().

Here is the call graph for this function:

void gui2::taddon_connect::pre_show ( CVideo video,
twindow window 
) [private, virtual]

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.


Member Data Documentation

Enable the addon remove button?

Definition at line 48 of file addon_connect.hpp.

Referenced by pre_show().

Enable the update addon button?

Definition at line 45 of file addon_connect.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:59 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs