• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // UpdateCallbackFar.h
2 
3 #ifndef ZIP7_INC_UPDATE_CALLBACK_FAR_H
4 #define ZIP7_INC_UPDATE_CALLBACK_FAR_H
5 
6 #include "../../../Common/MyCom.h"
7 
8 #include "../../IPassword.h"
9 
10 #include "../Agent/IFolderArchive.h"
11 
12 #include "ProgressBox.h"
13 
14 Z7_CLASS_IMP_COM_6(
15   CUpdateCallback100Imp
16   , IFolderArchiveUpdateCallback
17   , IFolderArchiveUpdateCallback2
18   , IFolderScanProgress
19   , ICryptoGetTextPassword2
20   , ICryptoGetTextPassword
21   , IArchiveOpenCallback
22 )
23   Z7_IFACE_COM7_IMP(IProgress)
24 
25   // CMyComPtr<IInFolderArchive> _archiveHandler;
26   CProgressBox *_percent;
27   // UInt64 _total;
28 public:
29   bool PasswordIsDefined;
30   UString Password;
31 
CUpdateCallback100Imp()32   CUpdateCallback100Imp()
33     // : _total(0)
34     {}
Init(CProgressBox * progressBox)35   void Init(/* IInFolderArchive *archiveHandler, */ CProgressBox *progressBox)
36   {
37     // _archiveHandler = archiveHandler;
38     _percent = progressBox;
39     PasswordIsDefined = false;
40     Password.Empty();
41   }
42 };
43 
44 #endif
45