diff options
Diffstat (limited to 'Swift/Controllers/XMPPEvents/ErrorEvent.h')
| -rw-r--r-- | Swift/Controllers/XMPPEvents/ErrorEvent.h | 39 | 
1 files changed, 20 insertions, 19 deletions
| diff --git a/Swift/Controllers/XMPPEvents/ErrorEvent.h b/Swift/Controllers/XMPPEvents/ErrorEvent.h index ac09de9..c0b5e52 100644 --- a/Swift/Controllers/XMPPEvents/ErrorEvent.h +++ b/Swift/Controllers/XMPPEvents/ErrorEvent.h @@ -1,31 +1,32 @@  /* - * Copyright (c) 2010 Kevin Smith - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information.   */  #pragma once  #include <cassert> +#include <memory> +#include <string> -#include "Swiften/Base/boost_bsignals.h" -#include <boost/shared_ptr.hpp> +#include <boost/signals2.hpp> -#include "Swift/Controllers/XMPPEvents/StanzaEvent.h" -#include <string> -#include "Swiften/JID/JID.h" +#include <Swiften/JID/JID.h> + +#include <Swift/Controllers/XMPPEvents/StanzaEvent.h>  namespace Swift { -	class ErrorEvent : public StanzaEvent { -		public: -			ErrorEvent(const JID& jid, const std::string& text) : jid_(jid), text_(text){} -			virtual ~ErrorEvent(){} -			const JID& getJID() const {return jid_;} -			const std::string& getText() const {return text_;} - -		private: -			JID jid_; -			std::string text_; -	}; +    class ErrorEvent : public StanzaEvent { +        public: +            ErrorEvent(const JID& jid, const std::string& text) : jid_(jid), text_(text){} +            virtual ~ErrorEvent(){} +            const JID& getJID() const {return jid_;} +            const std::string& getText() const {return text_;} + +        private: +            JID jid_; +            std::string text_; +    };  } | 
 Swift
 Swift