cabitem.h

来自「7-Zip 3.11的源码」· C头文件 代码 · 共 34 行

H
34
字号
// 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


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?