DotNameLib
Loading...
Searching...
No Matches
PlatformInfoFactory.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <memory>
5
6namespace dotnamecpp::utils {
7
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
Definition PlatformInfoFactory.hpp:8
static std::unique_ptr< IPlatformInfo > create(Platform platform)
Definition PlatformInfoFactory.cpp:21
static std::unique_ptr< IPlatformInfo > createForCurrentPlatform()
Definition PlatformInfoFactory.cpp:9
Definition DirectoryManager.cpp:5
Platform
Definition IPlatformInfo.hpp:10