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 <boost/shared_ptr.hpp> 00010 00011 #include <Swiften/Elements/DiscoInfo.h> 00012 #include <Swiften/Base/API.h> 00013 00014 namespace Swift { 00015 class SWIFTEN_API CapsStorage { 00016 public: 00017 virtual ~CapsStorage(); 00018 00019 virtual DiscoInfo::ref getDiscoInfo(const std::string&) const = 0; 00020 virtual void setDiscoInfo(const std::string&, DiscoInfo::ref) = 0; 00021 }; 00022 }