8 #ifndef BOOSTER_LOCALE_LOCALIZATION_BACKEND_HPP
9 #define BOOSTER_LOCALE_LOCALIZATION_BACKEND_HPP
10 #include <booster/config.h>
11 #include <booster/locale/generator.h>
13 # pragma warning(push)
14 # pragma warning(disable : 4275 4251 4231 4660)
64 virtual void set_option(std::string
const &name,std::string
const &value) = 0;
107 std::auto_ptr<localization_backend>
get()
const;
114 void add_backend(std::string
const &name,std::auto_ptr<localization_backend> backend);
119 void remove_all_backends();
124 std::vector<std::string> get_all_backends()
const;
146 std::auto_ptr<impl> pimpl_;
virtual std::locale install(std::locale const &base, locale_category_type category, character_facet_type type=nochar_facet)=0
uint32_t character_facet_type
type that specifies the character type that locales can be generated for
Definition: generator.h:43
uint32_t locale_category_type
a type used for more fine grained generation of facets
Definition: generator.h:65
virtual localization_backend * clone() const =0
virtual void set_option(std::string const &name, std::string const &value)=0
virtual void clear_options()=0
Localization backend manager is a class that holds various backend and allows creation of their combi...
Definition: localization_backend.h:84
this class represents a localization backend that can be used for localizing your application...
Definition: localization_backend.h:43