| // |
| // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) |
| // |
| // Distributed under the Boost Software License, Version 1.0. (See |
| // accompanying file LICENSE_1_0.txt or copy at |
| // http://www.boost.org/LICENSE_1_0.txt) |
| // |
| #ifndef BOOST_LOCALE_IMPL_POSIX_ALL_GENERATOR_HPP |
| #define BOOST_LOCALE_IMPL_POSIX_ALL_GENERATOR_HPP |
| |
| #include <boost/locale/generator.hpp> |
| #include <boost/shared_ptr.hpp> |
| #include <vector> |
| #include <locale.h> |
| |
| #ifdef __APPLE__ |
| #include <xlocale.h> |
| #endif |
| |
| namespace boost { |
| namespace locale { |
| namespace impl_posix { |
| |
| std::locale create_convert( std::locale const &in, |
| boost::shared_ptr<locale_t> lc, |
| character_facet_type type); |
| |
| std::locale create_collate( std::locale const &in, |
| boost::shared_ptr<locale_t> lc, |
| character_facet_type type); |
| |
| std::locale create_formatting( std::locale const &in, |
| boost::shared_ptr<locale_t> lc, |
| character_facet_type type); |
| |
| std::locale create_parsing( std::locale const &in, |
| boost::shared_ptr<locale_t> lc, |
| character_facet_type type); |
| std::locale create_codecvt( std::locale const &in, |
| std::string const &encoding, |
| character_facet_type type); |
| |
| } |
| } |
| } |
| |
| #endif |
| // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 |