mirror of
https://github.com/sfall-team/int2ssl.git
synced 2026-07-27 16:52:42 -07:00
29 lines
438 B
C++
29 lines
438 B
C++
#ifndef CARCHIVE_H
|
|
#define CARCHIVE_H
|
|
|
|
#include "../Hacks/Types.h"
|
|
#include "../Hacks/CFile.h"
|
|
|
|
class CArchive
|
|
{
|
|
protected:
|
|
CFile* _file = 0;
|
|
|
|
public:
|
|
static const unsigned int load = 1;
|
|
static const unsigned int store = 2;
|
|
|
|
CArchive(CFile* file, unsigned int mode);
|
|
void Flush();
|
|
|
|
CFile* GetFile();
|
|
|
|
void WriteString(const char * value);
|
|
|
|
ULONG Read(char * buffer, ULONG size);
|
|
|
|
|
|
};
|
|
|
|
#endif // CARCHIVE_H
|