00001 /* 00002 * Copyright (c) 2010 Remko Tronçon 00003 * Licensed under the GNU General Public License v3. 00004 * See Documentation/Licenses/GPLv3.txt for more information. 00005 */ 00006 00007 #pragma once 00008 00009 #include <Swiften/Base/API.h> 00010 #include <Swiften/Presence/PresenceSender.h> 00011 00012 namespace Swift { 00013 class StanzaChannel; 00014 00015 class SWIFTEN_API StanzaChannelPresenceSender : public PresenceSender { 00016 public: 00017 StanzaChannelPresenceSender(StanzaChannel*); 00018 00019 void sendPresence(Presence::ref); 00020 00021 bool isAvailable() const; 00022 00023 private: 00024 StanzaChannel* channel; 00025 }; 00026 }