summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StreamManagement')
-rw-r--r--Swiften/StreamManagement/StanzaAckRequester.h7
-rw-r--r--Swiften/StreamManagement/StanzaAckResponder.h5
2 files changed, 7 insertions, 5 deletions
diff --git a/Swiften/StreamManagement/StanzaAckRequester.h b/Swiften/StreamManagement/StanzaAckRequester.h
index dda1395..422efbd 100644
--- a/Swiften/StreamManagement/StanzaAckRequester.h
+++ b/Swiften/StreamManagement/StanzaAckRequester.h
@@ -9,8 +9,9 @@
#include <deque>
#include <memory>
+#include <boost/signals2.hpp>
+
#include <Swiften/Base/API.h>
-#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Elements/Stanza.h>
namespace Swift {
@@ -22,8 +23,8 @@ namespace Swift {
void handleAckReceived(unsigned int handledStanzasCount);
public:
- boost::signal<void ()> onRequestAck;
- boost::signal<void (std::shared_ptr<Stanza>)> onStanzaAcked;
+ boost::signals2::signal<void ()> onRequestAck;
+ boost::signals2::signal<void (std::shared_ptr<Stanza>)> onStanzaAcked;
private:
friend class StanzaAckRequesterTest;
diff --git a/Swiften/StreamManagement/StanzaAckResponder.h b/Swiften/StreamManagement/StanzaAckResponder.h
index 389606e..c90bbff 100644
--- a/Swiften/StreamManagement/StanzaAckResponder.h
+++ b/Swiften/StreamManagement/StanzaAckResponder.h
@@ -8,8 +8,9 @@
#include <memory>
+#include <boost/signals2.hpp>
+
#include <Swiften/Base/API.h>
-#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Elements/Stanza.h>
namespace Swift {
@@ -21,7 +22,7 @@ namespace Swift {
void handleAckRequestReceived();
public:
- boost::signal<void (unsigned int /* handledStanzaCount */)> onAck;
+ boost::signals2::signal<void (unsigned int /* handledStanzaCount */)> onAck;
private:
friend class StanzaAckResponderTest;