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 <string> 00010 #include <Swiften/Base/API.h> 00011 #include <Swiften/Elements/CapsInfo.h> 00012 00013 namespace Swift { 00014 class DiscoInfo; 00015 00016 class SWIFTEN_API CapsInfoGenerator { 00017 public: 00018 CapsInfoGenerator(const std::string& node); 00019 00020 CapsInfo generateCapsInfo(const DiscoInfo& discoInfo) const; 00021 00022 private: 00023 std::string node_; 00024 }; 00025 }