Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Archive/7z/7zUpdate.h')
-rwxr-xr-x7zip/Archive/7z/7zUpdate.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/7zip/Archive/7z/7zUpdate.h b/7zip/Archive/7z/7zUpdate.h
index 7567864a..385bd942 100755
--- a/7zip/Archive/7z/7zUpdate.h
+++ b/7zip/Archive/7z/7zUpdate.h
@@ -4,6 +4,7 @@
#define __7Z_UPDATE_H
#include "7zIn.h"
+#include "7zOut.h"
#include "7zCompressionMode.h"
#include "../IArchive.h"
@@ -21,6 +22,7 @@ struct CUpdateItem
UInt32 Attributes;
FILETIME CreationTime;
FILETIME LastWriteTime;
+ FILETIME LastAccessTime;
UInt64 Size;
UString Name;
@@ -28,13 +30,20 @@ struct CUpdateItem
bool IsAnti;
bool IsDirectory;
- bool CreationTimeIsDefined;
- bool LastWriteTimeIsDefined;
+ bool IsCreationTimeDefined;
+ bool IsLastWriteTimeDefined;
+ bool IsLastAccessTimeDefined;
bool AttributesAreDefined;
const bool HasStream() const
{ return !IsDirectory && !IsAnti && Size != 0; }
- CUpdateItem(): IsAnti(false) {}
+ CUpdateItem():
+ IsAnti(false),
+ AttributesAreDefined(false),
+ IsCreationTimeDefined(false),
+ IsLastWriteTimeDefined(false),
+ IsLastAccessTimeDefined(false)
+ {}
void SetDirectoryStatusFromAttributes()
{ IsDirectory = ((Attributes & FILE_ATTRIBUTE_DIRECTORY) != 0); };
@@ -48,8 +57,9 @@ struct CUpdateOptions
const CCompressionMethodMode *HeaderMethod;
bool UseFilters;
bool MaxFilter;
- bool UseAdditionalHeaderStreams;
- bool CompressMainHeader;
+
+ CHeaderOptions HeaderOptions;
+
UInt64 NumSolidFiles;
UInt64 NumSolidBytes;
bool SolidExtension;