ObjFW  Diff

Differences From Artifact [ecd033e52b]:

  • File src/OFLocale.h — part of check-in [1a86b8175b] at 2022-02-12 07:46:07 on branch trunk — Update copyright (user: js size: 6826) [more...]

To Artifact [fcc8f077d2]:

  • File src/OFLocale.h — part of check-in [6228b691b5] at 2022-06-12 06:27:14 on branch trunk — Remove a few useless methods (user: js size: 6825) [more...]

148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/**
 * @brief Initializes the current OFLocale.
 *
 * @warning This sets the locale via `setlocale()`!
 *
 * @warning You should never call this yourself, except if you do not use
 *	    @ref OFApplication. In this case, you need to allocate exactly one
 *	    instance of OFLocale, which will be come the current locale, and
 *	    call this method.
 */
- (instancetype)init;

#ifdef OF_HAVE_FILES
/**
 * @brief Adds a directory to scan for language files.







|







148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/**
 * @brief Initializes the current OFLocale.
 *
 * @warning This sets the locale via `setlocale()`!
 *
 * @warning You should never call this yourself, except if you do not use
 *	    @ref OFApplication. In this case, you need to allocate exactly one
 *	    instance of OFLocale, which will become the current locale, and
 *	    call this method.
 */
- (instancetype)init;

#ifdef OF_HAVE_FILES
/**
 * @brief Adds a directory to scan for language files.