diff options
Diffstat (limited to 'dali/devel-api/text-abstraction/hyphenation.h')
-rw-r--r-- | dali/devel-api/text-abstraction/hyphenation.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dali/devel-api/text-abstraction/hyphenation.h b/dali/devel-api/text-abstraction/hyphenation.h index b8d5cfe74..d7190ce49 100644 --- a/dali/devel-api/text-abstraction/hyphenation.h +++ b/dali/devel-api/text-abstraction/hyphenation.h @@ -79,10 +79,20 @@ public: * @brief Retrieve a handle to the Hyphenation instance. * * @return A handle to the Hyphenation. + * @remarks A reference to the singleton instance of Hyphenation. */ static Hyphenation Get(); /** + * @brief Create a handle to the new Hyphenation instance. + * + * @return A handle to the Hyphenation. + * @remarks All functions of this are not thread-safe, + * so create new handles for each worker thread to utilize them. + */ + static Hyphenation New(); + + /** * * Gets the encoding of the dictionary for the given language * |