mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 14:07:00 -06:00
34 lines
604 B
C++
Executable File
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
|
|
|
|
|