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:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2007-08-27 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:54 +0300
commit051769bbc577aeede90558b6ab5c9be187940ca0 (patch)
treee6330cb80f2d4a526d8aa27812528e053b0cda90 /CPP/7zip/UI/Agent/AgentProxy.h
parent33ccab7e728a996800e166d849fe1e92a17e1afe (diff)
4.53 beta
Diffstat (limited to 'CPP/7zip/UI/Agent/AgentProxy.h')
-rwxr-xr-xCPP/7zip/UI/Agent/AgentProxy.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/CPP/7zip/UI/Agent/AgentProxy.h b/CPP/7zip/UI/Agent/AgentProxy.h
index 70f47f40..5cf7a05b 100755
--- a/CPP/7zip/UI/Agent/AgentProxy.h
+++ b/CPP/7zip/UI/Agent/AgentProxy.h
@@ -10,7 +10,7 @@
class CProxyFile
{
public:
- UINT32 Index;
+ UInt32 Index;
UString Name;
};
@@ -22,34 +22,41 @@ public:
CObjectVector<CProxyFile> Files;
bool IsLeaf;
+ bool CrcIsDefined;
+ UInt64 Size;
+ UInt64 PackSize;
+ UInt32 Crc;
+ UInt32 NumSubFolders;
+ UInt32 NumSubFiles;
+
CProxyFolder(): Parent(NULL) {};
int FindDirSubItemIndex(const UString &name, int &insertPos) const;
int FindDirSubItemIndex(const UString &name) const;
- CProxyFolder* AddDirSubItem(UINT32 index,
- bool leaf, const UString &name);
- void AddFileSubItem(UINT32 index, const UString &name);
+ CProxyFolder* AddDirSubItem(UInt32 index, bool leaf, const UString &name);
+ void AddFileSubItem(UInt32 index, const UString &name);
void Clear();
+ void GetPathParts(UStringVector &pathParts) const;
UString GetFullPathPrefix() const;
- UString GetItemName(UINT32 index) const;
+ UString GetItemName(UInt32 index) const;
void AddRealIndices(CUIntVector &realIndices) const;
- void GetRealIndices(const UINT32 *indices, UINT32 numItems,
- CUIntVector &realIndices) const;
+ void GetRealIndices(const UInt32 *indices, UInt32 numItems, CUIntVector &realIndices) const;
+ void CalculateSizes(IInArchive *archive);
};
class CProxyArchive
{
- HRESULT ReadObjects(IInArchive *inArchive, IProgress *progress);
+ HRESULT ReadObjects(IInArchive *archive, IProgress *progress);
public:
UString DefaultName;
// FILETIME DefaultTime;
- // UINT32 DefaultAttributes;
+ // UInt32 DefaultAttributes;
CProxyFolder RootFolder;
HRESULT Reload(IInArchive *archive, IProgress *progress);
HRESULT Load(IInArchive *archive,
const UString &defaultName,
// const FILETIME &defaultTime,
- // UINT32 defaultAttributes,
+ // UInt32 defaultAttributes,
IProgress *progress);
};