windows-nt/Source/XPSP1/NT/windows/richedit/re41/_hyph.h
2020-09-26 16:20:57 +08:00

30 lines
436 B
C++

/*
* _HYPH.H
*
* Purpose:
* CHyphCache class
*
* Authors:
* Keith Curtis
*/
#ifndef _HYPH_H
#define _HYPH_H
//This structure should only be used by the CHyphCache class
struct HYPHENTRY
{
UINT khyph;
WCHAR chHyph;
};
class CHyphCache : private CArray <HYPHENTRY>
{
int Add(UINT khyph, WCHAR chHyph);
public:
int Find(UINT khyph, WCHAR chHyph);
void GetAt(int iHyph, UINT &khyph, WCHAR &chHyph);
};
#endif //_HYPH_H