2010-05-14 15:04:01 +02:00
|
|
|
#ifndef USERSDIALOG_H
|
|
|
|
#define USERSDIALOG_H
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/textctrl.h>
|
2010-06-27 21:39:49 +02:00
|
|
|
#include <wx/textdlg.h>
|
2010-05-14 15:04:01 +02:00
|
|
|
#include <controller/KissCount.h>
|
|
|
|
#include "wxUI.h"
|
|
|
|
|
|
|
|
class wxUI;
|
|
|
|
class KissCount;
|
|
|
|
|
|
|
|
class UsersDialog : public wxDialog
|
|
|
|
{
|
2010-07-04 16:33:25 +02:00
|
|
|
public:
|
2010-05-14 15:04:01 +02:00
|
|
|
UsersDialog(KissCount* kiss, wxUI *parent);
|
|
|
|
|
|
|
|
void OnOK(wxCommandEvent& event);
|
|
|
|
void OnCancel(wxCommandEvent& event);
|
2010-06-27 21:39:49 +02:00
|
|
|
void OnNewUser(wxCommandEvent& event);
|
2010-05-14 15:04:01 +02:00
|
|
|
|
2010-07-04 16:33:25 +02:00
|
|
|
private:
|
2010-05-14 15:04:01 +02:00
|
|
|
KissCount* _kiss;
|
|
|
|
wxUI* _wxUI;
|
|
|
|
wxChoice* _users;
|
|
|
|
wxTextCtrl* _password;
|
|
|
|
|
2010-07-04 16:33:25 +02:00
|
|
|
DECLARE_EVENT_TABLE();
|
2010-05-14 15:04:01 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
#endif
|