xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/Far/OverwriteDialogFar.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // OverwriteDialogFar.h
2 
3 #ifndef ZIP7_INC_OVERWRITE_DIALOG_FAR_H
4 #define ZIP7_INC_OVERWRITE_DIALOG_FAR_H
5 
6 #include "../../../Common/MyString.h"
7 #include "../../../Common/MyTypes.h"
8 
9 namespace NOverwriteDialog {
10 
11 struct CFileInfo
12 {
13   bool SizeIsDefined;
14   bool TimeIsDefined;
15   UInt64 Size;
16   FILETIME Time;
17   UString Name;
18 };
19 
20 namespace NResult
21 {
22   enum EEnum
23   {
24     kYes,
25     kYesToAll,
26     kNo,
27     kNoToAll,
28     kAutoRename,
29     kCancel
30   };
31 }
32 
33 NResult::EEnum Execute(const CFileInfo &oldFileInfo, const CFileInfo &newFileInfo);
34 
35 }
36 
37 #endif
38