summaryrefslogtreecommitdiffstats
blob: 4c30f7c95ba65804b9da3f868477e9698dfe58fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2011-2015 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <Swiften/Base/API.h>
#include <Swiften/Jingle/JingleSession.h>

namespace Swift {
    class SWIFTEN_API IncomingJingleSessionHandler {
        public:
            virtual ~IncomingJingleSessionHandler();

            virtual bool handleIncomingJingleSession(JingleSession::ref, const std::vector<JingleContentPayload::ref>& contents, const JID& recipient) = 0;
    };
}