/* * AddUserDialog * Copyright (C) 2001 Barnaby Gray . * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #ifndef ADDUSERDIALOG_H #define ADDUSERDIALOG_H #include #include #include #include #include #include #include #include #include #include "MobileNoEntry.h" #include class AddUserDialog : public Gtk::Dialog { private: Gtk::Button m_ok, m_cancel; Gtk::Label m_uin_label; Gtk::Entry m_uin_entry; Gtk::RadioButton m_icq_user, m_mobile_user; Gtk::CheckButton m_alert_check; Gtk::Frame m_mode_frame, m_icq_frame, m_mobile_frame; Gtk::Label m_alias_label, m_mobileno_label; Gtk::Entry m_alias_entry; MobileNoEntry m_mobileno_entry; void update_stuff(); void uin_changed_cb(); void mobileno_changed_cb(); public: AddUserDialog(Gtk::Window * parent); void ok_cb(); }; #endif