xml-copy-editor-code/src/binaryfile.h

20 lines
277 B
C
Raw Normal View History

2007-09-07 23:17:30 +02:00
#ifndef BINARYFILE_H
#define BINARYFILE_H
#include <cstdio>
#include <cstdlib>
class BinaryFile
{
2007-09-08 00:25:30 +02:00
public:
BinaryFile ( const char *fname );
2007-09-07 23:17:30 +02:00
~BinaryFile();
const char *getData();
size_t getDataLen();
2007-09-08 00:25:30 +02:00
private:
2007-09-07 23:17:30 +02:00
char *m_data;
size_t m_dataLen;
};
#endif