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