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.

29 lines
436 B

  1. /*
  2. * _HYPH.H
  3. *
  4. * Purpose:
  5. * CHyphCache class
  6. *
  7. * Authors:
  8. * Keith Curtis
  9. */
  10. #ifndef _HYPH_H
  11. #define _HYPH_H
  12. //This structure should only be used by the CHyphCache class
  13. struct HYPHENTRY
  14. {
  15. UINT khyph;
  16. WCHAR chHyph;
  17. };
  18. class CHyphCache : private CArray <HYPHENTRY>
  19. {
  20. int Add(UINT khyph, WCHAR chHyph);
  21. public:
  22. int Find(UINT khyph, WCHAR chHyph);
  23. void GetAt(int iHyph, UINT &khyph, WCHAR &chHyph);
  24. };
  25. #endif //_HYPH_H