summaryrefslogtreecommitdiffstats
path: root/src/pedro/pedroxmpp.h
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-05-24 02:13:24 +0000
committerishmal <ishmal@users.sourceforge.net>2006-05-24 02:13:24 +0000
commit992a950aee9e228c9b6a196178dc001faff4f35b (patch)
tree931e0e1c80a29f8f8959cda59868aebf0eb34815 /src/pedro/pedroxmpp.h
parentSmall bugfix by a certain Thorsten (thanks). (diff)
downloadinkscape-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.h48
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;