diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-19 12:41:27 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-19 12:41:27 +0000 |
commit | 86e10f867bc0531cdc2007524aa7757d7d594e7d (patch) | |
tree | 0e37ad5c038ca930d6a8beba557427b9ad34de8b /src/gui/login.h | |
parent | 129040251c8242bd4b56f4fc6b107017d62bca3c (diff) | |
download | mana-86e10f867bc0531cdc2007524aa7757d7d594e7d.tar.gz mana-86e10f867bc0531cdc2007524aa7757d7d594e7d.tar.bz2 mana-86e10f867bc0531cdc2007524aa7757d7d594e7d.tar.xz mana-86e10f867bc0531cdc2007524aa7757d7d594e7d.zip |
More refining of windows.
Diffstat (limited to 'src/gui/login.h')
-rw-r--r-- | src/gui/login.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/login.h b/src/gui/login.h index 725e578c..46c12d08 100644 --- a/src/gui/login.h +++ b/src/gui/login.h @@ -43,15 +43,10 @@ */ class LoginDialog : public Window, public gcn::ActionListener { public: - LoginDialog(); + LoginDialog(gcn::Container *parent); ~LoginDialog(); /** - * Initializes the dialog. Should be called after adding it to the GUI. - */ - void init(); - - /** * Called when receiving actions from the widgets. */ void action(const std::string& eventId); @@ -66,7 +61,14 @@ class LoginDialog : public Window, public gcn::ActionListener { gcn::Button *cancelButton; }; +/** + * Display login dialog + */ void login(); + +/** + * Attempt to login to login server + */ void server_login(const std::string& user, const std::string& pass); #endif |