diff options
Diffstat (limited to 'Swiften/Queries/IQHandler.h')
-rw-r--r-- | Swiften/Queries/IQHandler.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Swiften/Queries/IQHandler.h b/Swiften/Queries/IQHandler.h index 19e16a7..b5c1fc3 100644 --- a/Swiften/Queries/IQHandler.h +++ b/Swiften/Queries/IQHandler.h @@ -1,23 +1,21 @@ /* - * 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-2017 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/IQ.h> namespace Swift { - class IQRouter; + class SWIFTEN_API IQHandler { + public: + virtual ~IQHandler(); - class SWIFTEN_API IQHandler { - public: - virtual ~IQHandler(); - - virtual bool handleIQ(boost::shared_ptr<IQ>) = 0; - }; + virtual bool handleIQ(std::shared_ptr<IQ>) = 0; + }; } |