This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

33
7zip/Archive/Cab/CabItem.h Executable file
View File

@@ -0,0 +1,33 @@
// 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