i18n
Translation lookup
Loading...
Searching...
No Matches
ILocale.hpp
Go to the documentation of this file.
1
11#pragma once
12
13#include <string>
14
37class ILocale {
38public:
39
47 virtual const std::string languageCode() const = 0;
48
52 virtual ~ILocale() = default;
53};
Base interface for all locale implementations.
Definition ILocale.hpp:37
virtual ~ILocale()=default
Virtual destructor for proper cleanup of derived classes.
virtual const std::string languageCode() const =0
Retrieve the two-letter language code of the locale.