diff options
Diffstat (limited to 'src/ZYEnhancedText.h')
-rw-r--r-- | src/ZYEnhancedText.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ZYEnhancedText.h b/src/ZYEnhancedText.h index 04559d0..214b31e 100644 --- a/src/ZYEnhancedText.h +++ b/src/ZYEnhancedText.h @@ -31,8 +31,6 @@ typedef enum { SYMBOL_SECTION } section_t; -typedef String::const_iterator iterator_t; - /* all enhanced text should loop from the start to get the correct position. */ size_t get_enhanced_text_length (const String & enhanced_text); @@ -42,6 +40,9 @@ get_enhanced_text_length (const String & enhanced_text); section_t probe_section (const String & enhanced_text, size_t offset, size_t & pos); +section_t +probe_section_quick (const String & enhanced_text, size_t pos); + bool get_phonetic_section (const String & enhanced_text, size_t start_pos, size_t & end_pos, String & section); |