3#include <DotNameLib/version.h>
22 using dotnamecpp::assets::IAssetManager;
23 using dotnamecpp::logging::ILogger;
24 using dotnamecpp::logging::LoggerConfig;
47 static std::shared_ptr<IAssetManager>
48 createAssetManager(
const std::filesystem::path &executablePath,
const std::string &appName);
54 static std::shared_ptr<ICustomStringsLoader>
56 const std::string &filename =
"customstrings.json");
Definition UtilsFactory.hpp:27
static std::shared_ptr< IPathResolver > createPathResolver()
Definition UtilsFactory.cpp:24
static std::unique_ptr< IPlatformInfo > createPlatformInfo()
Definition UtilsFactory.cpp:33
static std::shared_ptr< IDirectoryManager > createDirectoryManager()
Definition UtilsFactory.cpp:28
static AppComponents createAppComponents(const std::string &appName, const LoggerConfig &loggerConfig)
Create complete application components.
Definition UtilsFactory.cpp:86
static std::shared_ptr< ILogger > createDefaultLogger()
Definition UtilsFactory.cpp:76
static std::shared_ptr< IJsonSerializer > createJsonSerializer()
Definition UtilsFactory.cpp:49
static std::shared_ptr< IFileWriter > createFileWriter()
Definition UtilsFactory.cpp:20
static std::shared_ptr< ILogger > createLogger(LoggerType type, const LoggerConfig &config)
Definition UtilsFactory.cpp:72
static std::shared_ptr< IFileReader > createFileReader()
Definition UtilsFactory.cpp:16
static std::shared_ptr< IAssetManager > createAssetManager(const std::filesystem::path &executablePath, const std::string &appName)
Definition UtilsFactory.cpp:43
static std::shared_ptr< IStringFormatter > createStringFormatter()
Definition UtilsFactory.cpp:67
static UtilsBundle createBundle()
Definition UtilsFactory.cpp:108
static std::shared_ptr< ICustomStringsLoader > createCustomStringsLoader(std::shared_ptr< IAssetManager > assetManager, const std::string &filename="customstrings.json")
Definition UtilsFactory.cpp:56
LoggerType
Definition LoggerFactory.hpp:8
Definition DirectoryManager.cpp:5
Platform
Definition IPlatformInfo.hpp:10
Configuration options for creating a logger.
Definition LoggerFactory.hpp:13
Definition UtilsFactory.hpp:69
std::shared_ptr< ILogger > logger
Definition UtilsFactory.hpp:70
std::unique_ptr< IPlatformInfo > platformInfo
Definition UtilsFactory.hpp:72
std::shared_ptr< IAssetManager > assetManager
Definition UtilsFactory.hpp:71
Definition UtilsFactory.hpp:86
std::unique_ptr< IPlatformInfo > platformInfo
Definition UtilsFactory.hpp:91
std::shared_ptr< ILogger > logger
Definition UtilsFactory.hpp:94
std::shared_ptr< IStringFormatter > stringFormatter
Definition UtilsFactory.hpp:93
std::shared_ptr< IFileWriter > fileWriter
Definition UtilsFactory.hpp:88
std::shared_ptr< IPathResolver > pathResolver
Definition UtilsFactory.hpp:89
std::shared_ptr< IDirectoryManager > directoryManager
Definition UtilsFactory.hpp:90
std::shared_ptr< IJsonSerializer > jsonSerializer
Definition UtilsFactory.hpp:92
std::shared_ptr< IFileReader > fileReader
Definition UtilsFactory.hpp:87