diff options
Diffstat (limited to 'Swift/Controllers/UIEvents/JoinMUCUIEvent.h')
| -rw-r--r-- | Swift/Controllers/UIEvents/JoinMUCUIEvent.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/Swift/Controllers/UIEvents/JoinMUCUIEvent.h b/Swift/Controllers/UIEvents/JoinMUCUIEvent.h index c7f8be6..dea3ead 100644 --- a/Swift/Controllers/UIEvents/JoinMUCUIEvent.h +++ b/Swift/Controllers/UIEvents/JoinMUCUIEvent.h @@ -10,17 +10,21 @@  #include <boost/shared_ptr.hpp>  #include <string> +#include <Swiften/JID/JID.h> +  #include "Swift/Controllers/UIEvents/UIEvent.h"  namespace Swift {  	class JoinMUCUIEvent : public UIEvent {  		public:  			typedef boost::shared_ptr<JoinMUCUIEvent> ref; -			JoinMUCUIEvent(const JID& jid, const boost::optional<std::string>& nick = boost::optional<std::string>()) : jid_(jid), nick_(nick) {}; +			JoinMUCUIEvent(const JID& jid, const boost::optional<std::string>& nick = boost::optional<std::string>(), bool joinAutomaticallyInFuture = false) : jid_(jid), nick_(nick), joinAutomatically_(joinAutomaticallyInFuture){};  			boost::optional<std::string> getNick() {return nick_;};  			JID getJID() {return jid_;}; +			bool getShouldJoinAutomatically() {return joinAutomatically_;}  		private:  			JID jid_;  			boost::optional<std::string> nick_; +			bool joinAutomatically_;  	};  } | 
 Swift
 Swift