Imported Upstream version 9.20
[platform/upstream/7zip.git] / CPP / 7zip / UI / FileManager / PasswordDialog.h
1 // PasswordDialog.h\r
2 \r
3 #ifndef __PASSWORDDIALOG_H\r
4 #define __PASSWORDDIALOG_H\r
5 \r
6 #include "Windows/Control/Dialog.h"\r
7 #include "Windows/Control/Edit.h"\r
8 #include "PasswordDialogRes.h"\r
9 \r
10 class CPasswordDialog: public NWindows::NControl::CModalDialog\r
11 {\r
12   NWindows::NControl::CEdit _passwordControl;\r
13   virtual void OnOK();\r
14   virtual bool OnInit();\r
15   virtual bool OnButtonClicked(int buttonID, HWND buttonHWND);\r
16 public:\r
17   UString Password;\r
18   INT_PTR Create(HWND parentWindow = 0) { return CModalDialog::Create(IDD_DIALOG_PASSWORD, parentWindow); }\r
19 };\r
20 \r
21 #endif\r