Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
771 B

  1. #ifndef _SPANISH_TOKENIZER_H_
  2. #define _SPANISH_TOKENIZER_H_
  3. #include "tokenizer.h"
  4. #include "Synchro.h"
  5. #include "SpanishDict.h"
  6. extern CAutoClassPointer<CSpanishDict> g_apSpanishDict;
  7. class CSpanishTokenizer : public CTokenizer
  8. {
  9. public:
  10. CSpanishTokenizer(
  11. TEXT_SOURCE* pTxtSource,
  12. IWordSink * pWordSink,
  13. IPhraseSink * pPhraseSink,
  14. LCID lcid,
  15. BOOL bQueryTime,
  16. ULONG ulMaxTokenSize);
  17. // destructor frees the passed buffer, if it exists
  18. virtual ~CSpanishTokenizer(void)
  19. {
  20. }
  21. protected:
  22. virtual void OutputSimpleToken(
  23. CTokenState& State,
  24. const CCliticsTerm* pTerm);
  25. private:
  26. CSyncCriticalSection m_csSpanishDictInit;
  27. };
  28. #endif // _SPANISH_TOKENIZER_H_