First start of refactoring field ph out of class Packer.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-06-29 14:26:49 +02:00
parent 0dc03214c5
commit 8ab3e63aeb
2 changed files with 40 additions and 18 deletions
+7 -3
View File
@@ -99,6 +99,13 @@ public:
};
bool ph_skipVerify(const PackHeader &ph);
void ph_decompress(PackHeader &ph, const upx_bytep in, upx_bytep out,
bool verify_checksum, Filter *ft);
bool ph_testOverlappingDecompression(const PackHeader &ph, const upx_bytep buf,
unsigned overlap_overhead);
/*************************************************************************
// abstract base class for packers
//
@@ -140,9 +147,6 @@ protected:
// unpacker tests - these may throw exceptions
virtual bool testUnpackVersion(int version) const;
virtual bool testUnpackFormat(int format) const;
//
virtual bool skipVerify(int method, int level) const;
virtual bool skipVerify() const;
protected:
// implementation