Leaked source code of windows server 2003
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.
 
 
 
 
 
 

30 lines
465 B

/*
* _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