Blender  V3.3
boost_locale_wrapper.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2012 Blender Foundation. All rights reserved. */
3 
9 #ifndef __BOOST_LOCALE_WRAPPER_H__
10 #define __BOOST_LOCALE_WRAPPER_H__
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 void bl_locale_init(const char *messages_path, const char *default_domain);
17 void bl_locale_set(const char *locale);
18 const char *bl_locale_get(void);
19 const char *bl_locale_pgettext(const char *msgctxt, const char *msgid);
20 
21 #if defined(__APPLE__) && !defined(WITH_HEADLESS) && !defined(WITH_GHOST_SDL)
22 const char *osx_user_locale(void);
23 #endif
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* __BOOST_LOCALE_WRAPPER_H__ */
static std::string messages_path
static std::string default_domain
const char * bl_locale_pgettext(const char *msgctxt, const char *msgid)
void bl_locale_init(const char *messages_path, const char *default_domain)
const char * bl_locale_get(void)
void bl_locale_set(const char *locale)
const char * osx_user_locale()