diff options
Diffstat (limited to 'Swiften/Parser/XMPPParserClient.h')
-rw-r--r-- | Swiften/Parser/XMPPParserClient.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Swiften/Parser/XMPPParserClient.h b/Swiften/Parser/XMPPParserClient.h index a3ba54e..97c0c64 100644 --- a/Swiften/Parser/XMPPParserClient.h +++ b/Swiften/Parser/XMPPParserClient.h @@ -1,26 +1,26 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * 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/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<ToplevelElement>) = 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; + }; } |