diff options
Diffstat (limited to 'Swiften/Presence/StanzaChannelPresenceSender.h')
-rw-r--r-- | Swiften/Presence/StanzaChannelPresenceSender.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Swiften/Presence/StanzaChannelPresenceSender.h b/Swiften/Presence/StanzaChannelPresenceSender.h new file mode 100644 index 0000000..23230ab --- /dev/null +++ b/Swiften/Presence/StanzaChannelPresenceSender.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include "Swiften/Presence/PresenceSender.h" + +namespace Swift { + class StanzaChannel; + + class StanzaChannelPresenceSender : public PresenceSender { + public: + StanzaChannelPresenceSender(StanzaChannel*); + + void sendPresence(Presence::ref); + + bool isAvailable() const; + + private: + StanzaChannel* channel; + }; +} |