Boost.UI
User Interface Boost library
locale.hpp
Go to the documentation of this file.
1 // Copyright (c) 2017 Kolya Kosenko
2 
3 // Distributed under the Boost Software License, Version 1.0.
4 // See http://www.boost.org/LICENSE_1_0.txt
5 
7 
8 #ifndef BOOST_UI_LOCALE_HPP
9 #define BOOST_UI_LOCALE_HPP
10 
11 #include <boost/ui/config.hpp>
12 
13 #ifdef BOOST_HAS_PRAGMA_ONCE
14 #pragma once
15 #endif
16 
17 #include <locale>
18 
19 namespace boost {
20 namespace ui {
21 
24 BOOST_UI_DECL std::locale getloc();
25 
26 // @brief Replaces locale associated with the user interface
27 // @return The locale before the call of this function
28 // @ingroup locale
29 //std::locale imbue(const std::locale& loc);
30 
31 } // namespace ui
32 } // namespace boost
33 
34 #endif // BOOST_UI_LOCALE_HPP
config.hpp
Configuration options.
boost
Boost C++ libraries namespace.
Definition: window.hpp:19
boost::ui::getloc
std::locale getloc()
Returns the current locale associated with the user interface.