@@ -120,16 +120,18 @@ * * @return The decimal point of the system's locale */ + (OFString*)decimalPoint; +#ifdef OF_HAVE_FILES /*! * @brief Adds a directory to scan for language files. * * @param path The path to the directory to scan for language files */ + (void)addLanguageDirectory: (OFString*)path; +#endif /*! * @brief Initializes the OFLocalization singleton with the specified locale. * * @warning You should never call this yourself, except if you do not use @@ -139,16 +141,18 @@ * * @param locale The locale used, as returned from `setlocale()` */ - initWithLocale: (char*)locale; +#ifdef OF_HAVE_FILES /*! * @brief Adds a directory to scan for language files. * * @param path The path to the directory to scan for language files */ - (void)addLanguageDirectory: (OFString*)path; +#endif /*! * @brief Returns the localized string for the specified ID, using the fallback * string if it cannot be looked up or is missing. *