Source

pyGAP / game / engine / codec / lzma.h

Full commit
#ifdef COMPRESSION_LZMA
#ifndef __CODEC_LZMA_H__
#define __CODEC_LZMA_H__


namespace codec {

class Base;
Base* create();


class Lzma : public Base {
    friend Base* create();

protected:
    Lzma();

public:
    virtual ~Lzma();

    virtual bool has_error();

    virtual bool init(uint8_t* output);
    virtual bool finish();

    virtual bool decode(uint8_t* output, uint32_t output_size, uint8_t* input,  uint32_t input_size);

private:
    void*    stream_;
};


} /* namespace codec */


#endif
#endif