/*
 * Copyright (c) 2010-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <memory>
#include <string>

#include <Swiften/JID/JID.h>

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

namespace Swift {
    class RequestJoinMUCUIEvent : public UIEvent {
        public:
            typedef std::shared_ptr<RequestJoinMUCUIEvent> ref;

            RequestJoinMUCUIEvent(const JID& room = JID()) : room(room) {
            }

            const JID& getRoom() const {
                return room;
            }

        private:
            JID room;
    };
}