stlab.adobe.com Adobe Systems Incorporated

localization.hpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2005-2007 Adobe Systems Incorporated
00003     Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
00004     or a copy at http://stlab.adobe.com/licenses.html)
00005 */
00006 
00007 /*************************************************************************************************/
00008 
00009 #ifndef ADOBE_LOCALIZATION_HPP
00010 #define ADOBE_LOCALIZATION_HPP
00011 
00012 /*************************************************************************************************/
00013 
00014 #include <adobe/config.hpp>
00015 
00016 #include <boost/function.hpp>
00017 
00018 /*************************************************************************************************/
00019 
00020 namespace adobe {
00021 
00022 /*************************************************************************************************/
00023 
00034 typedef boost::function<std::string (const std::string&)> localization_lookup_proc_t;
00035 
00036 void localization_register(const localization_lookup_proc_t& proc);
00037 
00038 std::string localization_invoke(const std::string& source);
00039 
00040 bool localization_ready();
00041 
00043 
00044 /*************************************************************************************************/
00045 
00046 } // namespace adobe
00047 
00048 /*************************************************************************************************/
00049 
00050 #endif
00051 
00052 /*************************************************************************************************/

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google