diff --git a/src/tools/eydrle.hh b/src/tools/eydrle.hh index e69de29..2891075 100644 --- a/src/tools/eydrle.hh +++ b/src/tools/eydrle.hh @@ -0,0 +1,31 @@ +#ifndef _EYDRLE_HH +#define _EYDRLE_HH + +#include +#include +#include +#include +#include + +namespace EydTools { + typedef enum { EYDRLE_MODE_COMPRESS, EYDRLE_MODE_UNCOMPRESS, EYDRLE_MODE_UNDEF } eydrle_mode_t; + + class EydRle { + private: + // la config + eydrle_mode_t _mode_compress; + std::string _input_file; + std::string _output_file; + int _cellsize; + EydLib::BitGroup _rle; + + public: + EydRle(); + bool init(int argc, char **argv); + void run(); + void compress(); + void uncompress(); + }; +} + +#endif