EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
Loading...
Searching...
No Matches
FileAssetProvider.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "IAssetProvider.hpp"
4
10public:
19 std::string loadAsset(std::string_view assetName) const override;
20};
Implementation of IAssetProvider that reads from the local filesystem. This is the standard provider ...
~FileAssetProvider() override
std::string loadAsset(std::string_view assetName) const override
Loads the content of a file from the disk.
Interface for providing configuration/asset data. Abstracts the source of assets (filesystem,...