mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-16 17:57:57 -05:00
refactor: use zone reference in AssetLoader
This commit is contained in:
@ -1,12 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "Zone/Stream/IZoneInputStream.h"
|
||||
#include "Zone/Zone.h"
|
||||
|
||||
class IContentLoadingEntryPoint
|
||||
{
|
||||
public:
|
||||
IContentLoadingEntryPoint() = default;
|
||||
virtual ~IContentLoadingEntryPoint() = default;
|
||||
IContentLoadingEntryPoint(const IContentLoadingEntryPoint& other) = default;
|
||||
IContentLoadingEntryPoint(IContentLoadingEntryPoint&& other) noexcept = default;
|
||||
IContentLoadingEntryPoint& operator=(const IContentLoadingEntryPoint& other) = default;
|
||||
IContentLoadingEntryPoint& operator=(IContentLoadingEntryPoint&& other) noexcept = default;
|
||||
|
||||
virtual void Load(Zone* zone, IZoneInputStream* stream) = 0;
|
||||
virtual void Load(IZoneInputStream* stream) = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user