summaryrefslogtreecommitdiff
path: root/src/gui/login.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
committerIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
commit10a9dbacd9334caede10f1b21d42cdf7e1efcd03 (patch)
treedef2baead68de5a9ccc842e25b3cdcfe9a638c9b /src/gui/login.h
parente7f4e78f76972ca3882b9d2763ae9cab31675d3a (diff)
downloadmana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.gz
mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.bz2
mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.xz
mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.zip
Style cleanups throughout most of the code. Splitting function type from
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/login.h')
-rw-r--r--src/gui/login.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/login.h b/src/gui/login.h
index 3b911424..d1d75ebc 100644
--- a/src/gui/login.h
+++ b/src/gui/login.h
@@ -74,8 +74,7 @@ class LoginDialog : public Window, public gcn::ActionListener,
* Returns whether submit can be enabled. This is true in the login
* state, when all necessary fields have some text.
*/
- bool
- canSubmit();
+ bool canSubmit();
/**
* Function to decide whether string is an unsigned short or not
@@ -84,8 +83,7 @@ class LoginDialog : public Window, public gcn::ActionListener,
*
* @return true is str is an unsigned short, false otherwise
*/
- static bool
- isUShort(const std::string &str);
+ static bool isUShort(const std::string &str);
/**
* Converts string to an unsigned short (undefined if invalid)
@@ -94,8 +92,7 @@ class LoginDialog : public Window, public gcn::ActionListener,
*
* @return the value str represents
*/
- static unsigned short
- getUShort(const std::string &str);
+ static unsigned short getUShort(const std::string &str);
DropDown *mServerDropDown;
gcn::TextField *mUserField;