mirror of
https://github.com/ytsodacan/Faucet.git
synced 2026-04-23 15:37:07 +00:00
19 lines
425 B
C++
19 lines
425 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class Language
|
|
{
|
|
private:
|
|
static Language *singleton;
|
|
public:
|
|
Language();
|
|
static Language *getInstance();
|
|
template<typename...Args>
|
|
inline std::wstring getElement(const std::wstring& elementId, Args...)
|
|
{
|
|
return elementId;
|
|
}
|
|
std::wstring getElementName(const std::wstring& elementId);
|
|
std::wstring getElementDescription(const std::wstring& elementId);
|
|
}; |