diff options
Diffstat (limited to 'Swiften/Session/SessionTracer.h')
-rw-r--r-- | Swiften/Session/SessionTracer.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Swiften/Session/SessionTracer.h b/Swiften/Session/SessionTracer.h index 72c93b4..8e73c16 100644 --- a/Swiften/Session/SessionTracer.h +++ b/Swiften/Session/SessionTracer.h @@ -1,24 +1,25 @@ /* - * 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 <string> -#include <Swiften/Session/Session.h> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeByteArray.h> +#include <Swiften/Session/Session.h> namespace Swift { - class SessionTracer { - public: - SessionTracer(boost::shared_ptr<Session> session); + class SWIFTEN_API SessionTracer { + public: + SessionTracer(std::shared_ptr<Session> session); - private: - void printData(char direction, const SafeByteArray& data); + private: + void printData(char direction, const SafeByteArray& data); - boost::shared_ptr<Session> session; - }; + std::shared_ptr<Session> session; + }; } |