diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-05-24 02:13:24 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-05-24 02:13:24 +0000 |
| commit | 992a950aee9e228c9b6a196178dc001faff4f35b (patch) | |
| tree | 931e0e1c80a29f8f8959cda59868aebf0eb34815 /src/pedro/pedroxmpp.h | |
| parent | Small bugfix by a certain Thorsten (thanks). (diff) | |
| download | inkscape-992a950aee9e228c9b6a196178dc001faff4f35b.tar.gz inkscape-992a950aee9e228c9b6a196178dc001faff4f35b.zip | |
Add gui code for registration
(bzr r991)
Diffstat (limited to 'src/pedro/pedroxmpp.h')
| -rw-r--r-- | src/pedro/pedroxmpp.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/pedro/pedroxmpp.h b/src/pedro/pedroxmpp.h index 12a69fa3b..d26b83b76 100644 --- a/src/pedro/pedroxmpp.h +++ b/src/pedro/pedroxmpp.h @@ -811,19 +811,6 @@ public: virtual int getMsgId() { return msgId++; } - /** - * - */ - virtual void setDoRegister(bool val) - { doRegister = val; } - - - /** - * - */ - virtual bool getDoRegister() - { return doRegister; } - //####################### @@ -883,6 +870,29 @@ public: virtual void rosterShow(const DOMString &jid, const DOMString &show); //####################### + //# REGISTRATION + //####################### + + /** + * Set whether the client should to in-band registration + * before authentication. Causes inBandRegistrationNew() to be called + * synchronously, before async is started. + */ + virtual void setDoRegister(bool val) + { doRegister = val; } + + /** + * Change the password of an existing account with a server + */ + bool inBandRegistrationChangePassword(const DOMString &newPassword); + + /** + * Cancel an existing account with a server + */ + bool inBandRegistrationCancel(); + + + //####################### //# CHAT (individual) //####################### @@ -1127,20 +1137,10 @@ private: bool iqAuthenticate(const DOMString &streamId); /** - * Register a new account with a server + * Register a new account with a server. Not done by user */ bool inBandRegistrationNew(); - /** - * Change the password of an existing account with a server - */ - bool inBandRegistrationChangePassword(const DOMString &newPassword); - - /** - * Cancel an existing account with a server - */ - bool inBandRegistrationCancel(); - bool keepGoing; bool doRegister; |
