DotNameLib
Loading...
Searching...
No Matches
PlatformInfoFactory.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Utils/Platform/IPlatformInfo.hpp
>
4
#include <memory>
5
6
namespace
dotnamecpp::utils
{
7
8
class
PlatformInfoFactory
{
9
public
:
10
[[nodiscard]]
11
static
std::unique_ptr<IPlatformInfo>
createForCurrentPlatform
();
12
13
[[nodiscard]]
14
static
std::unique_ptr<IPlatformInfo>
create
(
Platform
platform);
15
};
16
17
}
// namespace dotnamecpp::utils
IPlatformInfo.hpp
dotnamecpp::utils::PlatformInfoFactory
Definition
PlatformInfoFactory.hpp:8
dotnamecpp::utils::PlatformInfoFactory::create
static std::unique_ptr< IPlatformInfo > create(Platform platform)
Definition
PlatformInfoFactory.cpp:21
dotnamecpp::utils::PlatformInfoFactory::createForCurrentPlatform
static std::unique_ptr< IPlatformInfo > createForCurrentPlatform()
Definition
PlatformInfoFactory.cpp:9
dotnamecpp::utils
Definition
DirectoryManager.cpp:5
dotnamecpp::utils::Platform
Platform
Definition
IPlatformInfo.hpp:10
src
Utils
Platform
PlatformInfoFactory.hpp
Generated by
1.14.0