moved private definitions out of public headers.
This commit is contained in:
parent
ebb71cebf1
commit
c77ece4922
15 changed files with 111 additions and 105 deletions
|
|
@ -46,6 +46,26 @@
|
|||
namespace FileSys {
|
||||
using namespace byteswap;
|
||||
|
||||
|
||||
class DecompressorBase : public FileReaderInterface
|
||||
{
|
||||
bool exceptions = false;
|
||||
public:
|
||||
// These do not work but need to be defined to satisfy the FileReaderInterface.
|
||||
// They will just error out when called.
|
||||
long Tell() const override;
|
||||
long Seek(long offset, int origin) override;
|
||||
char* Gets(char* strbuf, int len) override;
|
||||
void DecompressionError(const char* error, ...) const;
|
||||
void SetOwnsReader();
|
||||
void EnableExceptions(bool on) { exceptions = on; }
|
||||
|
||||
protected:
|
||||
FileReader* File = nullptr;
|
||||
FileReader OwnedFile;
|
||||
};
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// DecompressionError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue