5 #include <Poco/Exception.h>
6 #include <Poco/SharedPtr.h>
8 #include "l10n/LocaleImpl.h"
20 Locale(Poco::SharedPtr<T> impl):
24 throw Poco::BadCastException(
"failed to cast to LocaleImpl");
33 std::string language()
const;
34 std::string country()
const;
35 std::string displayName()
const;
36 std::string toString()
const;
38 bool operator <(
const Locale &other)
const
40 return lessThan(other);
43 bool lessThan(
const Locale &other)
const;
45 Poco::SharedPtr<LocaleImpl> impl()
const;
50 Poco::SharedPtr<LocaleImpl> m_impl;
Locale()
Definition: Locale.cpp:7