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