From 652f1181a928c850460c437d2785f6453fc463b5 Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Wed, 2 Jul 2025 17:54:38 -0700 Subject: [PATCH] Fix some warning in doxygen (issue 147) --- inflection/src/inflection/dialog/DisplayValue.h | 8 ++++---- inflection/src/inflection/util/LocaleUtils.hpp | 15 +++++++++++++++ inflection/src/inflection/util/LoggerConfig.hpp | 15 +++++++++++++++ 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/inflection/src/inflection/dialog/DisplayValue.h b/inflection/src/inflection/dialog/DisplayValue.h index 661bcec6..abff541d 100644 --- a/inflection/src/inflection/dialog/DisplayValue.h +++ b/inflection/src/inflection/dialog/DisplayValue.h @@ -14,8 +14,8 @@ INFLECTION_CBEGIN typedef struct IDDisplayValue_Constraint { /** * The semantic feature name. This should be a valid name from - * {@link LanguageGrammarFeatures_GrammarCategory} or - * {@link LanguageGrammarFeatures_GrammarFeatures}. In all + * {@link inflection::lang::features::LanguageGrammarFeatures_GrammarCategory} or + * {@link inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures}. In all * languages, there is also a special key for the speak part * of a SpeakableString named "speak". When that is provided, * the associated value will be returned as a part of the @@ -24,8 +24,8 @@ typedef struct IDDisplayValue_Constraint { const char16_t* name; /** * The semantic feature name. This should be a valid value from - * {@link LanguageGrammarFeatures_GrammarCategory} or - * {@link LanguageGrammarFeatures_GrammarFeatures}. Some constraints + * {@link inflection::lang::features::LanguageGrammarFeatures_GrammarCategory} or + * {@link inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures}. Some constraints * are bounded, and some are unbounded. Typically, grammar * categories are bounded. The grammar features may or may not be * bounded. This string must be null-terminated. diff --git a/inflection/src/inflection/util/LocaleUtils.hpp b/inflection/src/inflection/util/LocaleUtils.hpp index 6a24be6d..ee3a5e3a 100644 --- a/inflection/src/inflection/util/LocaleUtils.hpp +++ b/inflection/src/inflection/util/LocaleUtils.hpp @@ -480,10 +480,25 @@ class INFLECTION_CLASS_API inflection::util::LocaleUtils final * uk_UA: Ukrainian (Ukraine) */ static const ::inflection::util::ULocale& UKRAINE(); + /** + * vi: Vietnamese + */ static const ::inflection::util::ULocale& VIETNAMESE(); + /** + * vi_VN: Vietnamese (Vietnam) + */ static const ::inflection::util::ULocale& VIETNAM(); + /** + * wuu: Shanghainese + */ static const ::inflection::util::ULocale& SHANGHAINESE(); + /** + * wuu_CN: Shanghainese (China) + */ static const ::inflection::util::ULocale& CHINA_SHANGHAINESE(); + /** + * yue: Cantonese + */ static const ::inflection::util::ULocale& CANTONESE(); /** * yue_CN: Cantonese (China) diff --git a/inflection/src/inflection/util/LoggerConfig.hpp b/inflection/src/inflection/util/LoggerConfig.hpp index 0ab77cd4..4e81f058 100644 --- a/inflection/src/inflection/util/LoggerConfig.hpp +++ b/inflection/src/inflection/util/LoggerConfig.hpp @@ -12,10 +12,25 @@ class INFLECTION_CLASS_API inflection::util::LoggerConfig final { public: + /** + * Is trace logging currently enabled? + */ static bool isTraceEnabled(); + /** + * Is debug logging currently enabled? + */ static bool isDebugEnabled(); + /** + * Is info logging currently enabled? + */ static bool isInfoEnabled(); + /** + * Is warn logging currently enabled? + */ static bool isWarnEnabled(); + /** + * Is error logging currently enabled? + */ static bool isErrorEnabled(); /**