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

#pragma once

#include <map>

#include <Swiften/Base/API.h>
#include <Swiften/Disco/EntityCapsProvider.h>

namespace Swift {
    class SWIFTEN_API DummyEntityCapsProvider : public EntityCapsProvider {
        public:
            DummyEntityCapsProvider() {
            }

            DiscoInfo::ref getCaps(const JID& jid) const;

            DiscoInfo::ref getCapsCached(const JID& jid);

            std::map<JID, DiscoInfo::ref> caps;
    };
}