Index: third_party/lzma/v4_65/files/CPP/7zip/Archive/7z/7zUpdate.h |
diff --git a/third_party/lzma/v4_65/files/CPP/7zip/Archive/7z/7zUpdate.h b/third_party/lzma/v4_65/files/CPP/7zip/Archive/7z/7zUpdate.h |
deleted file mode 100644 |
index bcc7cef7c1dc458d1debdec6cad3dec75861262b..0000000000000000000000000000000000000000 |
--- a/third_party/lzma/v4_65/files/CPP/7zip/Archive/7z/7zUpdate.h |
+++ /dev/null |
@@ -1,84 +0,0 @@ |
-// 7zUpdate.h |
- |
-#ifndef __7Z_UPDATE_H |
-#define __7Z_UPDATE_H |
- |
-#include "7zIn.h" |
-#include "7zOut.h" |
-#include "7zCompressionMode.h" |
- |
-#include "../IArchive.h" |
- |
-namespace NArchive { |
-namespace N7z { |
- |
-struct CUpdateItem |
-{ |
- int IndexInArchive; |
- int IndexInClient; |
- |
- UInt64 CTime; |
- UInt64 ATime; |
- UInt64 MTime; |
- |
- UInt64 Size; |
- UString Name; |
- |
- UInt32 Attrib; |
- |
- bool NewData; |
- bool NewProperties; |
- |
- bool IsAnti; |
- bool IsDir; |
- |
- bool AttribDefined; |
- bool CTimeDefined; |
- bool ATimeDefined; |
- bool MTimeDefined; |
- |
- bool HasStream() const { return !IsDir && !IsAnti && Size != 0; } |
- |
- CUpdateItem(): |
- IsAnti(false), |
- IsDir(false), |
- AttribDefined(false), |
- CTimeDefined(false), |
- ATimeDefined(false), |
- MTimeDefined(false) |
- {} |
- void SetDirStatusFromAttrib() { IsDir = ((Attrib & FILE_ATTRIBUTE_DIRECTORY) != 0); }; |
- |
- int GetExtensionPos() const; |
- UString GetExtension() const; |
-}; |
- |
-struct CUpdateOptions |
-{ |
- const CCompressionMethodMode *Method; |
- const CCompressionMethodMode *HeaderMethod; |
- bool UseFilters; |
- bool MaxFilter; |
- |
- CHeaderOptions HeaderOptions; |
- |
- UInt64 NumSolidFiles; |
- UInt64 NumSolidBytes; |
- bool SolidExtension; |
- bool RemoveSfxBlock; |
- bool VolumeMode; |
-}; |
- |
-HRESULT Update( |
- DECL_EXTERNAL_CODECS_LOC_VARS |
- IInStream *inStream, |
- const CArchiveDatabaseEx *db, |
- const CObjectVector<CUpdateItem> &updateItems, |
- COutArchive &archive, |
- CArchiveDatabase &newDatabase, |
- ISequentialOutStream *seqOutStream, |
- IArchiveUpdateCallback *updateCallback, |
- const CUpdateOptions &options); |
-}} |
- |
-#endif |