/* * Copyright (c) 2011 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include #include #include namespace Swift { class JingleFileTransferDescription : public JingleDescription { public: typedef boost::shared_ptr ref; void addOffer(const StreamInitiationFileInfo& offer) { offers.push_back(offer); } const std::vector& getOffers() const { return offers; } void addRequest(const StreamInitiationFileInfo& request) { reqeusts.push_back(request); } const std::vector& getRequests() const { return reqeusts; } private: std::vector offers; std::vector reqeusts; }; }