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

#pragma once

#include <memory>

#include <Swiften/Base/API.h>
#include <Swiften/Elements/IQ.h>

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

            virtual bool handleIQ(std::shared_ptr<IQ>) = 0;
    };
}