diff options
Diffstat (limited to 'Swiften/Parser/XMPPParserClient.h')
-rw-r--r-- | Swiften/Parser/XMPPParserClient.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Swiften/Parser/XMPPParserClient.h b/Swiften/Parser/XMPPParserClient.h index 85e0f86..97c0c64 100644 --- a/Swiften/Parser/XMPPParserClient.h +++ b/Swiften/Parser/XMPPParserClient.h @@ -1,26 +1,26 @@ /* - * Copyright (c) 2010 Remko Tronçon - * 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 <boost/shared_ptr.hpp> +#include <memory> #include <Swiften/Base/API.h> -#include <Swiften/Elements/Element.h> +#include <Swiften/Elements/ToplevelElement.h> namespace Swift { - - class ProtocolHeader; - class SWIFTEN_API XMPPParserClient { - public: - virtual ~XMPPParserClient(); + class ProtocolHeader; - virtual void handleStreamStart(const ProtocolHeader&) = 0; - virtual void handleElement(boost::shared_ptr<Element>) = 0; - virtual void handleStreamEnd() = 0; - }; + class SWIFTEN_API XMPPParserClient { + public: + virtual ~XMPPParserClient(); + + virtual void handleStreamStart(const ProtocolHeader&) = 0; + virtual void handleElement(std::shared_ptr<ToplevelElement>) = 0; + virtual void handleStreamEnd() = 0; + }; } |