/* * Copyright (c) 2010 Kevin Smith * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include "Swift/Controllers/UIEvents/UIEvent.h" namespace Swift { class AddContactUIEvent : public UIEvent { public: AddContactUIEvent(const JID& jid, const std::string& name) : jid_(jid), name_(name) {}; std::string getName() {return name_;}; JID getJID() {return jid_;}; private: JID jid_; std::string name_; }; }