diff options
Diffstat (limited to 'src/gui/changeemaildialog.h')
-rw-r--r-- | src/gui/changeemaildialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/changeemaildialog.h b/src/gui/changeemaildialog.h index 486d8b03..23aab080 100644 --- a/src/gui/changeemaildialog.h +++ b/src/gui/changeemaildialog.h @@ -57,6 +57,12 @@ class ChangeEmailDialog : public Window, public gcn::ActionListener */ void action(const gcn::ActionEvent &event); + /** + * This is used to pass the pointer to where the new email should be + * put when the dialog finishes. + */ + static void setEmail(std::string *email); + private: gcn::TextField *mFirstEmailField; gcn::TextField *mSecondEmailField; @@ -67,6 +73,7 @@ class ChangeEmailDialog : public Window, public gcn::ActionListener WrongDataNoticeListener *mWrongDataNoticeListener; LoginData *mLoginData; + static std::string *emailPointer; }; #endif // GUI_CHANGEEMAIL_H |