misc/libphysfs/lzma/CPP/7zip/UI/Common/DirItem.h
branchui-scaling
changeset 15283 c4fd2813b127
parent 13390 0135e64c6c66
parent 15279 7ab5cf405686
child 15663 d92eeb468dad
equal deleted inserted replaced
13390:0135e64c6c66 15283:c4fd2813b127
     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