mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 18:11:35 -06:00
3.13
This commit is contained in:
37
7zip/UI/Common/DirItem.h
Executable file
37
7zip/UI/Common/DirItem.h
Executable file
@@ -0,0 +1,37 @@
|
||||
// DirItem.h
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef __DIR_ITEM_H
|
||||
#define __DIR_ITEM_H
|
||||
|
||||
// #include "Common/Types.h"
|
||||
#include "Common/String.h"
|
||||
// #include "Windows/PropVariant.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
|
||||
Reference in New Issue
Block a user