diff options
Diffstat (limited to 'CPP/7zip/UI/Common/OpenArchive.h')
-rw-r--r-- | CPP/7zip/UI/Common/OpenArchive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Common/OpenArchive.h b/CPP/7zip/UI/Common/OpenArchive.h index c62bf826..10514ec4 100644 --- a/CPP/7zip/UI/Common/OpenArchive.h +++ b/CPP/7zip/UI/Common/OpenArchive.h @@ -299,6 +299,8 @@ public: UInt64 AvailPhySize; // PhySize, but it's reduced if exceed end of file // bool offsetDefined; + UInt64 GetEstmatedPhySize() const { return PhySizeDefined ? PhySize : FileSize; } + UInt64 ArcStreamOffset; // offset of stream that is open by Archive Handler Int64 GetGlobalOffset() const { return ArcStreamOffset + Offset; } // it's global offset of archive |