mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-09 09:51:58 +00:00
refactor: combined ZoneOutputStream interface with impl
This commit is contained in:
29 files changed
+354
-310
No files matched your search
@@ -1,13 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "Zone/Stream/IZoneOutputStream.h"
|
||||
#include "Zone/Stream/ZoneOutputStream.h"
|
||||
#include "Zone/Zone.h"
|
||||
|
||||
class ContentWriterBase
|
||||
{
|
||||
protected:
|
||||
explicit ContentWriterBase(const Zone& zone);
|
||||
ContentWriterBase(const Zone& zone, IZoneOutputStream& stream);
|
||||
ContentWriterBase(const Zone& zone, ZoneOutputStream& stream);
|
||||
|
||||
public:
|
||||
virtual ~ContentWriterBase() = default;
|
||||
@@ -21,7 +21,7 @@ protected:
|
||||
void WriteXStringArray(bool atStreamStart, size_t count);
|
||||
|
||||
const Zone& m_zone;
|
||||
IZoneOutputStream* m_stream;
|
||||
ZoneOutputStream* m_stream;
|
||||
|
||||
const char** varXString;
|
||||
const char** varXStringWritten;
|
||||
|
||||
Reference in new issue
Block a user