DirItem.h 614 B

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