mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-12-19 00:47:48 +00:00
chore: add abstraction for opening output files to be able to mock it
This commit is contained in:
@@ -4,14 +4,10 @@
|
||||
#include "Asset/IZoneAssetCreationState.h"
|
||||
#include "Asset/ZoneDefinitionContext.h"
|
||||
#include "Gdt/IGdtQueryable.h"
|
||||
#include "SearchPath/IOutputPath.h"
|
||||
#include "SearchPath/ISearchPath.h"
|
||||
#include "Zone/Definition/ZoneDefinition.h"
|
||||
#include "Zone/Zone.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
class IObjCompiler
|
||||
{
|
||||
public:
|
||||
@@ -28,8 +24,8 @@ public:
|
||||
ISearchPath& searchPath,
|
||||
IGdtQueryable& gdt,
|
||||
ZoneAssetCreationStateContainer& zoneStates,
|
||||
const std::filesystem::path& outDir,
|
||||
const std::filesystem::path& cacheDir) const = 0;
|
||||
IOutputPath& outDir,
|
||||
IOutputPath& cacheDir) const = 0;
|
||||
|
||||
static const IObjCompiler* GetObjCompilerForGame(GameId game);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user