diff --git a/backends/twitter/TwitterPlugin.h b/backends/twitter/TwitterPlugin.h index b465563032f9dfab7acb3815b38bda3e72ea2ff6..cb826676a351627143d89f0de4559ffa1c09cb92 100644 --- a/backends/twitter/TwitterPlugin.h +++ b/backends/twitter/TwitterPlugin.h @@ -11,6 +11,7 @@ #include "transport/ThreadPool.h" #include "Swiften/Swiften.h" +#include "Swiften/SwiftenCompat.h" #ifndef _WIN32 #include "unistd.h" #include "signal.h" @@ -55,9 +56,9 @@ class TwitterPlugin : public NetworkPlugin { public: Swift::BoostNetworkFactories *m_factories; Swift::BoostIOServiceThread m_boostIOServiceThread; - boost::shared_ptr m_conn; + SWIFTEN_SHRPTR_NAMESPACE::shared_ptr m_conn; #if HAVE_SWIFTEN_3 - boost::shared_ptr cryptoProvider; + SWIFTEN_SHRPTR_NAMESPACE::shared_ptr cryptoProvider; #endif Swift::Timer::ref tweet_timer; Swift::Timer::ref message_timer; @@ -70,7 +71,7 @@ class TwitterPlugin : public NetworkPlugin { void sendData(const std::string &string); // Receive date from the NetworkPlugin server and invoke the appropirate payload handler (implement in the NetworkPlugin class) - void _handleDataRead(boost::shared_ptr data); + void _handleDataRead(SWIFTEN_SHRPTR_NAMESPACE::shared_ptr data); // User trying to login into his twitter account void handleLoginRequest(const std::string &user, const std::string &legacyName, const std::string &password);