diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-03-22 20:37:30 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-03-22 20:37:30 (GMT) |
commit | 0c377fa93ffd8538da9e71ddc71d4e8c07600a22 (patch) | |
tree | fa655b09f94cdb9018bfad4aa1de3dba2d345969 /Swiften/Presence/PresenceOracle.h | |
parent | 1ebd045cadb3585c846ea38c63d508e5aa6ec1e7 (diff) | |
download | swift-contrib-0c377fa93ffd8538da9e71ddc71d4e8c07600a22.zip swift-contrib-0c377fa93ffd8538da9e71ddc71d4e8c07600a22.tar.bz2 |
Can now accept roster subscriptions.
Diffstat (limited to 'Swiften/Presence/PresenceOracle.h')
-rw-r--r-- | Swiften/Presence/PresenceOracle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Presence/PresenceOracle.h b/Swiften/Presence/PresenceOracle.h index 320a999..dc6fe5d 100644 --- a/Swiften/Presence/PresenceOracle.h +++ b/Swiften/Presence/PresenceOracle.h @@ -14,6 +14,10 @@ class PresenceOracle { PresenceOracle(StanzaChannel* stanzaChannel); ~PresenceOracle() {}; + void cancelSubscription(const JID& jid); + void confirmSubscription(const JID& jid); + void requestSubscription(const JID& jid); + boost::signal<void (boost::shared_ptr<Presence>, boost::shared_ptr<Presence>)> onPresenceChange; boost::signal<void (const JID&, const String&)> onPresenceSubscriptionRequest; |