Project

General

Profile

Bug #6105 » ChangePasswordWidget.h

Bert Cuypers, 11/16/2017 08:34 AM

 
1
#ifndef _CHANGE_PASSWORD_WIDGET_H_
2
#define _CHANGE_PASSWORD_WIDGET_H_
3

    
4
#include <Wt/WDialog.h>
5
#include <Wt/WLineEdit.h>
6

    
7
using namespace Wt;
8

    
9
class ChangePasswordWidget : public WDialog
10
{
11
public:
12
						ChangePasswordWidget(bool aReqCurrentPsw);
13
    virtual				~ChangePasswordWidget();
14
    
15
    bool				changePassword();
16

    
17
private:
18
	bool				_reqCurrentPsw;
19
	WLineEdit *			_currentPassword;
20
	WLineEdit *			_newPassword;
21
	WLineEdit *			_confirmPassword;
22
};
23

    
24
#endif
(2-2/3)