This commit is contained in:
glenux 2005-10-30 23:02:08 +00:00
parent 4e231572bd
commit 9b3b2b7bda

View file

@ -0,0 +1,31 @@
#ifndef _EYDRLE_HH
#define _EYDRLE_HH
#include <stdio.h>
#include <stdlib.h>
#include <eyd.hh>
#include <exception>
#include <vector>
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