mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-07 01:01:59 +00:00
Rename ZoneLoader and ZoneWriter components to ZoneLoading and ZoneWriting to make a difference between the executive class and the component class
This commit is contained in:
1 parent
0d8432d4f7
commit
42af6df5d8
86 files changed
+22
-13
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#include "StepAddProcessor.h"
|
||||
#include <cassert>
|
||||
|
||||
StepAddProcessor::StepAddProcessor(StreamProcessor* streamProcessor)
|
||||
{
|
||||
m_stream_processor = streamProcessor;
|
||||
}
|
||||
|
||||
StepAddProcessor::~StepAddProcessor()
|
||||
{
|
||||
delete m_stream_processor;
|
||||
m_stream_processor = nullptr;
|
||||
}
|
||||
|
||||
void StepAddProcessor::PerformStep(ZoneLoader* zoneLoader, ILoadingStream* stream)
|
||||
{
|
||||
assert(zoneLoader != nullptr);
|
||||
assert(m_stream_processor != nullptr);
|
||||
|
||||
zoneLoader->AddStreamProcessor(m_stream_processor);
|
||||
m_stream_processor = nullptr;
|
||||
}
|
||||
Reference in new issue
Block a user