diff options
Diffstat (limited to 'Swiften/Jingle/JingleResponder.h')
-rw-r--r-- | Swiften/Jingle/JingleResponder.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Swiften/Jingle/JingleResponder.h b/Swiften/Jingle/JingleResponder.h new file mode 100644 index 0000000..47dc90a --- /dev/null +++ b/Swiften/Jingle/JingleResponder.h @@ -0,0 +1,26 @@ +/* + * 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 <Swiften/Queries/SetResponder.h> +#include <Swiften/Elements/JinglePayload.h> + +namespace Swift { + class IQRouter; + class JingleSessionManager; + + class JingleResponder : public SetResponder<JinglePayload> { + public: + JingleResponder(JingleSessionManager* sessionManager, IQRouter* router); + + private: + virtual bool handleSetRequest(const JID& from, const JID& to, const String& id, boost::shared_ptr<JinglePayload> payload); + + private: + JingleSessionManager* sessionManager; + }; +} |