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/boost_bsignals.h> 00010 #include <Swiften/Elements/DiscoInfo.h> 00011 #include <Swiften/Elements/CapsInfo.h> 00012 00013 namespace Swift { 00014 00015 00016 class CapsProvider { 00017 public: 00018 virtual ~CapsProvider() {} 00019 00020 virtual DiscoInfo::ref getCaps(const std::string&) const = 0; 00021 00022 boost::signal<void (const std::string&)> onCapsAvailable; 00023 }; 00024 }