EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
Loading...
Searching...
No Matches
IAssetProvider.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <string_view>
5#include "EnigmaCore_EXPORT.hpp"
6
12class ENIGMACORE_EXPORT IAssetProvider {
13public:
14 virtual ~IAssetProvider();
15
23 virtual std::string loadAsset(std::string_view assetName) const = 0;
24};
Interface for providing configuration/asset data. Abstracts the source of assets (filesystem,...
virtual ~IAssetProvider()
virtual std::string loadAsset(std::string_view assetName) const =0
Loads the content of an asset.