src: try to fix canUnpack() confusion - see packer.h
This commit is contained in:
+2
-4
@@ -155,12 +155,10 @@ protected:
|
||||
public:
|
||||
// canPack() should throw a cantPackException eplaining why it
|
||||
// cannot pack a recognized format.
|
||||
// canUnpack() can return -1 meaning "format recognized, but file
|
||||
// is definitely not packed" (see packmast.cpp).
|
||||
virtual bool canPack() = 0;
|
||||
// canUnpack() can return -1 meaning "format recognized, but file
|
||||
// is definitely not packed". See packmast.cpp try_unpack().
|
||||
virtual int canUnpack() = 0;
|
||||
virtual int canTest() { return canUnpack(); }
|
||||
virtual int canList() { return canUnpack(); }
|
||||
|
||||
protected:
|
||||
// main compression drivers
|
||||
|
||||
Reference in New Issue
Block a user