Very early SevenZip WIP version

This commit is contained in:
gjefferyes
2015-03-18 08:48:48 -05:00
parent 7830068257
commit 5d9d63fb08
55 changed files with 9683 additions and 3477 deletions

View File

@@ -0,0 +1,40 @@
using System.IO;
namespace ROMVault2.SupportedFiles
{
public interface ICompress
{
int LocalFilesCount();
string Filename(int i);
ulong? LocalHeader(int i);
ulong UncompressedSize(int i);
byte[] CRC32(int i);
ZipReturn FileStatus(int i);
byte[] MD5(int i);
byte[] SHA1(int i);
ZipOpenType ZipOpen { get; }
ZipReturn ZipFileOpen(string newFilename, long timestamp, bool readHeaders);
void ZipFileClose();
ZipReturn ZipFileOpenWriteStream(bool raw, bool trrntzip, string filename, ulong uncompressedSize, ushort compressionMethod, out Stream stream);
ZipReturn ZipFileCloseReadStream();
void DeepScan();
ZipStatus ZipStatus { get; }
string ZipFilename { get; }
long TimeStamp { get; }
void ZipFileAddDirectory();
ZipReturn ZipFileCreate(string newFilename);
ZipReturn ZipFileCloseWriteStream(byte[] crc32);
ZipReturn ZipFileRollBack();
void ZipFileCloseFailed();
}
}