Files
easy7zip/7zip/Archive/Cab/CabItem.h
Igor Pavlov 8c1b5c7b7e 3.13
2016-05-28 00:15:41 +01:00

34 lines
604 B
C++
Executable File

// Archive/Cab/ItemInfo.h
#pragma once
#ifndef __ARCHIVE_RAR_ITEMINFO_H
#define __ARCHIVE_RAR_ITEMINFO_H
#include "Common/Types.h"
#include "Common/String.h"
#include "CabHeader.h"
namespace NArchive {
namespace NCab {
class CItem
{
public:
UINT16 Flags;
UINT64 UnPackSize;
UINT32 UnPackOffset;
UINT16 FolderIndex;
UINT32 Time;
UINT16 Attributes;
UINT32 GetWinAttributes() const { return Attributes & (Attributes & ~NHeader::kFileNameIsUTFAttributeMask); }
bool IsNameUTF() const { return (Attributes & NHeader::kFileNameIsUTFAttributeMask) != 0; }
AString Name;
};
}}
#endif