home *** CD-ROM | disk | FTP | other *** search
- // spell.h
-
- // Functions to spellcheck a string and ObjectWindows TEdit using
- // the Spelmate DLL.
- // NOTE: this code is C++ but very few alterations are required to convert
- // algorithms to C.
-
- // (c) 1993, Stewart McSporran for Aciran Software Systems
-
- #ifndef __SPELL_H
- #define __SPELL_H
-
- #include <edit.h>
-
- // max length of word for the spell checker
- const int MaxWordLen = 20;
-
- // Spell checks a TEdit. Highlights any misspelt words before asking for
- // a replacement when an error encountered.
- void Spell(PTEdit pEdit);
-
- // Spellchecks a string. Does not highlight anything simply asks for new
- // word when an error encountered.
- void Spell(LPSTR lpString);
-
- #endif