mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 07:14:56 -06:00
4.53 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
33ccab7e72
commit
051769bbc5
@@ -107,6 +107,23 @@ struct CDatabase
|
||||
{
|
||||
CRecordVector<CStreamInfo> Streams;
|
||||
CObjectVector<CItem> Items;
|
||||
|
||||
UInt64 GetUnpackSize() const
|
||||
{
|
||||
UInt64 res = 0;
|
||||
for (int i = 0; i < Streams.Size(); i++)
|
||||
res += Streams[i].Resource.UnpackSize;
|
||||
return res;
|
||||
}
|
||||
|
||||
UInt64 GetPackSize() const
|
||||
{
|
||||
UInt64 res = 0;
|
||||
for (int i = 0; i < Streams.Size(); i++)
|
||||
res += Streams[i].Resource.PackSize;
|
||||
return res;
|
||||
}
|
||||
|
||||
void Clear()
|
||||
{
|
||||
Streams.Clear();
|
||||
|
||||
Reference in New Issue
Block a user