mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-22 22:45:39 +00:00
- Adds missing includes, removes some unused ones. - Removes unused Windows.h and shellapi.h includes. - Uses / as path separator. This is portable and should still work fine on Windows.
23 lines
424 B
C++
23 lines
424 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include "IDecompressor.h"
|
|
|
|
class CompactProRLEDecompressor : public IDecompressor
|
|
{
|
|
public:
|
|
CompactProRLEDecompressor();
|
|
~CompactProRLEDecompressor();
|
|
|
|
bool Reset(CSInputBuffer *input, size_t compressedSize, size_t decompressedSize);
|
|
bool ReadBytes(void *dest, size_t numBytes);
|
|
|
|
public:
|
|
CSInputBuffer *input;
|
|
int saved, repeat;
|
|
bool halfescaped;
|
|
|
|
bool EmitOneByte(uint8_t &b);
|
|
};
|