2010-06-27 21:40:33 +02:00
|
|
|
#ifndef PASSWORDDIALOG_H
|
|
|
|
#define PASSWORDDIALOG_H
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <controller/KissCount.h>
|
|
|
|
#include "wxUI.h"
|
|
|
|
#include <model/model.h>
|
|
|
|
|
|
|
|
class wxUI;
|
|
|
|
class KissCount;
|
|
|
|
|
|
|
|
class PasswordDialog : public wxDialog
|
|
|
|
{
|
2010-07-04 16:33:25 +02:00
|
|
|
public:
|
2010-06-27 21:40:33 +02:00
|
|
|
PasswordDialog(KissCount* kiss, wxUI *parent);
|
|
|
|
|
|
|
|
void OnOK(wxCommandEvent& event);
|
|
|
|
void OnCancel(wxCommandEvent& event);
|
|
|
|
|
2010-07-04 16:33:25 +02:00
|
|
|
private:
|
2010-06-27 21:40:33 +02:00
|
|
|
KissCount* _kiss;
|
|
|
|
wxUI* _wxUI;
|
|
|
|
wxTextCtrl* _oldPassword, *_newPassword, *_confirmPassword;
|
|
|
|
|
2010-07-04 16:33:25 +02:00
|
|
|
DECLARE_EVENT_TABLE();
|
2010-06-27 21:40:33 +02:00
|
|
|
};
|
|
|
|
#endif
|