summaryrefslogtreecommitdiffstats
blob: 4eca5d43424e95039eeaccc8759b66440f410018 (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-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <Swiften/JID/JID.h>

#include <Swift/Controllers/UIEvents/UIEvent.h>

namespace Swift {
    class RequestChatUIEvent : public UIEvent {
        public:
            RequestChatUIEvent(const JID& contact) : contact_(contact) {}
            JID getContact() {return contact_;}
        private:
            JID contact_;
    };
}