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/Base/boost_bsignals.h> 00011 #include <Swiften/JID/JID.h> 00012 #include <Swiften/Elements/DiscoInfo.h> 00013 00014 namespace Swift { 00020 class SWIFTEN_API EntityCapsProvider { 00021 public: 00022 virtual ~EntityCapsProvider(); 00023 00027 virtual DiscoInfo::ref getCaps(const JID&) const = 0; 00028 00032 boost::signal<void (const JID&)> onCapsChanged; 00033 }; 00034 }