BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
LocaleImpl.h
1 #pragma once
2 
3 namespace BeeeOn {
4 
9 class LocaleImpl {
10 public:
11  virtual ~LocaleImpl();
12 
16  virtual std::string language() const = 0;
17 
21  virtual std::string country() const = 0;
22 
30  virtual std::string displayName() const = 0;
31 
36  virtual std::string toString() const = 0;
37 };
38 
39 class SystemLocaleImpl : public LocaleImpl {
40 public:
41  std::string language() const override;
42  std::string country() const override;
43  std::string displayName() const override;
44  std::string toString() const override;
45 };
46 
47 }
virtual std::string country() const =0
std::string language() const override
Definition: LocaleImpl.cpp:13
virtual std::string displayName() const =0
virtual std::string toString() const =0
std::string toString() const override
Definition: LocaleImpl.cpp:47
Definition: LocaleImpl.h:9
std::string country() const override
Definition: LocaleImpl.cpp:25
Definition: LocaleImpl.h:39
virtual std::string language() const =0
std::string displayName() const override
Definition: LocaleImpl.cpp:41