equal
deleted
inserted
replaced
1 // DirItem.h |
|
2 |
|
3 #ifndef __DIR_ITEM_H |
|
4 #define __DIR_ITEM_H |
|
5 |
|
6 #include "Common/MyString.h" |
|
7 #include "Common/Types.h" |
|
8 |
|
9 struct CDirItem |
|
10 { |
|
11 UInt32 Attributes; |
|
12 FILETIME CreationTime; |
|
13 FILETIME LastAccessTime; |
|
14 FILETIME LastWriteTime; |
|
15 UInt64 Size; |
|
16 UString Name; |
|
17 UString FullPath; |
|
18 bool IsDirectory() const { return (Attributes & FILE_ATTRIBUTE_DIRECTORY) != 0 ; } |
|
19 }; |
|
20 |
|
21 struct CArchiveItem |
|
22 { |
|
23 bool IsDirectory; |
|
24 // DWORD Attributes; |
|
25 // NWindows::NCOM::CPropVariant LastWriteTime; |
|
26 FILETIME LastWriteTime; |
|
27 bool SizeIsDefined; |
|
28 UInt64 Size; |
|
29 UString Name; |
|
30 bool Censored; |
|
31 int IndexInServer; |
|
32 }; |
|
33 |
|
34 #endif |
|