diff options
Diffstat (limited to 'Swiften/Whiteboard/IncomingWhiteboardSession.h')
-rw-r--r-- | Swiften/Whiteboard/IncomingWhiteboardSession.h | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/Swiften/Whiteboard/IncomingWhiteboardSession.h b/Swiften/Whiteboard/IncomingWhiteboardSession.h index 54b5fb6..0f43cea 100644 --- a/Swiften/Whiteboard/IncomingWhiteboardSession.h +++ b/Swiften/Whiteboard/IncomingWhiteboardSession.h @@ -4,28 +4,35 @@ * See Documentation/Licenses/BSD-simplified.txt for more information. */ +/* + * Copyright (c) 2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ + #pragma once +#include <memory> + #include <Swiften/Base/API.h> -#include <Swiften/Whiteboard/WhiteboardSession.h> #include <Swiften/Whiteboard/WhiteboardClient.h> -#include <boost/shared_ptr.hpp> +#include <Swiften/Whiteboard/WhiteboardSession.h> namespace Swift { - class SWIFTEN_API IncomingWhiteboardSession : public WhiteboardSession { - public: - typedef boost::shared_ptr<IncomingWhiteboardSession> ref; + class SWIFTEN_API IncomingWhiteboardSession : public WhiteboardSession { + public: + typedef std::shared_ptr<IncomingWhiteboardSession> ref; - public: - IncomingWhiteboardSession(const JID& jid, IQRouter* router); - ~IncomingWhiteboardSession(); + public: + IncomingWhiteboardSession(const JID& jid, IQRouter* router); + ~IncomingWhiteboardSession(); - void accept(); + void accept(); - private: - void handleIncomingOperation(WhiteboardOperation::ref operation); - void sendOperation(WhiteboardOperation::ref operation); + private: + void handleIncomingOperation(WhiteboardOperation::ref operation); + void sendOperation(WhiteboardOperation::ref operation); - WhiteboardClient client; - }; + WhiteboardClient client; + }; } |