• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // UpdateCallbackGUI2.h
2 
3 #ifndef ZIP7_INC_UPDATE_CALLBACK_GUI2_H
4 #define ZIP7_INC_UPDATE_CALLBACK_GUI2_H
5 
6 #include "../FileManager/ProgressDialog2.h"
7 
8 class CUpdateCallbackGUI2
9 {
10   UStringVector _lang_Ops;
11   UString _emptyString;
12 public:
13   UString Password;
14   bool PasswordIsDefined;
15   bool PasswordWasAsked;
16   UInt64 NumFiles;
17 
18   UString _lang_Removing;
19 
CUpdateCallbackGUI2()20   CUpdateCallbackGUI2():
21       PasswordIsDefined(false),
22       PasswordWasAsked(false),
23       NumFiles(0)
24       {}
25 
26   void Init();
27 
28   CProgressDialog *ProgressDialog;
29 
30   HRESULT SetOperation_Base(UInt32 notifyOp, const wchar_t *name, bool isDir);
31   HRESULT ShowAskPasswordDialog();
32 };
33 
34 #endif
35