Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
localization.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_LOCALIZATION_HPP
9#define ADOBE_LOCALIZATION_HPP
10
11/**************************************************************************************************/
12
13#include <adobe/config.hpp>
14
15#include <functional>
16#include <string>
17
18/**************************************************************************************************/
19
20namespace adobe {
21
22/**************************************************************************************************/
23
29
33
34using localization_lookup_proc_t = std::function<std::string(const std::string&)>;
35
37
38std::string localization_invoke(const std::string& source);
39
41
43
44/**************************************************************************************************/
45
46} // namespace adobe
47
48/**************************************************************************************************/
49
50#endif
51
52/**************************************************************************************************/
void localization_register(const localization_lookup_proc_t &proc)
std::function< std::string(const std::string &)> localization_lookup_proc_t
bool localization_ready()
std::string localization_invoke(const std::string &source)