Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DebItem.h « Deb « Archive « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f587f3f5c77e6738d85959436d8f82979c4c1cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Archive/Deb/ItemInfo.h

#ifndef __ARCHIVE_DEB_ITEMINFO_H
#define __ARCHIVE_DEB_ITEMINFO_H

#include "Common/Types.h"
#include "Common/String.h"
#include "DebHeader.h"

namespace NArchive {
namespace NDeb {

class CItem
{
public:
  AString Name;
  UInt64 Size;
  UInt32 ModificationTime;
  UInt32 Mode;
};

class CItemEx: public CItem
{
public:
  UInt64 HeaderPosition;
  UInt64 GetDataPosition() const { return HeaderPosition + NHeader::kHeaderSize; };
  // UInt64 GetFullSize() const { return NFileHeader::kRecordSize + Size; };
};

}}

#endif