mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 17:05:33 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
// 4J Stu - Implements the Java InputStream but rather than writing directly to
|
||||
// disc it writes through the save file
|
||||
|
||||
#include "../../ConsoleJavaLibs/InputOutputStream/OutputStream.h"
|
||||
|
||||
#include "ConsoleSavePath.h"
|
||||
|
||||
class ConsoleSaveFile;
|
||||
class FileEntry;
|
||||
|
||||
class ConsoleSaveFileOutputStream : public OutputStream {
|
||||
public:
|
||||
ConsoleSaveFileOutputStream(ConsoleSaveFile* saveFile,
|
||||
const ConsoleSavePath& file);
|
||||
ConsoleSaveFileOutputStream(ConsoleSaveFile* saveFile, FileEntry* file);
|
||||
virtual void write(unsigned int b);
|
||||
virtual void write(byteArray b);
|
||||
virtual void write(byteArray b, unsigned int offset, unsigned int length);
|
||||
virtual void close();
|
||||
virtual void flush() {}
|
||||
|
||||
private:
|
||||
ConsoleSaveFile* m_saveFile;
|
||||
FileEntry* m_file;
|
||||
};
|
||||
Reference in New Issue
Block a user