windows-nt/Source/XPSP1/NT/windows/richedit/re41/_hyph.h

30 lines
436 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*
* _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