misc/libphysfs/lzma/CPP/7zip/UI/Common/DirItem.h
author antonc27 <antonc27@mail.ru>
Thu, 15 Mar 2018 23:59:20 +0100
branchios-develop
changeset 13224 01ab48b253ef
parent 12213 bb5522e88ab2
permissions -rw-r--r--
- Pause game when it goes background (do not show anymore annoying 'confirm quit')

// DirItem.h

#ifndef __DIR_ITEM_H
#define __DIR_ITEM_H

#include "Common/MyString.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