summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Presence/PresenceOracle.h')
-rw-r--r--Swiften/Presence/PresenceOracle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Presence/PresenceOracle.h b/Swiften/Presence/PresenceOracle.h
index b0d1e15..f30d05d 100644
--- a/Swiften/Presence/PresenceOracle.h
+++ b/Swiften/Presence/PresenceOracle.h
@@ -24,12 +24,12 @@ class StanzaChannel;
Presence::ref getHighestPriorityPresence(const JID& bareJID) const;
public:
- boost::signal<void (boost::shared_ptr<Presence>)> onPresenceChange;
+ boost::signal<void (Presence::ref)> onPresenceChange;
boost::signal<void (const JID&, const String&)> onPresenceSubscriptionRequest;
boost::signal<void (const JID&, const String&)> onPresenceSubscriptionRevoked;
private:
- void handleIncomingPresence(boost::shared_ptr<Presence> presence);
+ void handleIncomingPresence(Presence::ref presence);
void handleStanzaChannelAvailableChanged(bool);
private: