Etterna
0.75.1
Loading...
Searching...
No Matches
Locator.hpp
1
#ifndef CORE_SERVICES_SERVICELOCATOR_HPP
2
#define CORE_SERVICES_SERVICELOCATOR_HPP
3
4
#include "Core/Services/ILogger.hpp"
5
6
#include <memory>
7
13
class
Locator
{
14
public
:
15
// Getters
16
static
Core::ILogger
* getLogger();
17
18
// Providers
19
static
void
provide(std::unique_ptr<Core::ILogger> log);
20
21
private
:
22
static
std::unique_ptr<Core::ILogger> logger;
23
};
24
#endif
//CORE_SERVICES_SERVICELOCATOR_HPP
Core::ILogger
Definition
ILogger.hpp:19
Locator
Definition
Locator.hpp:13
src
Core
Services
Locator.hpp
Generated by
1.15.0