//		SimpleSR.h//		http://www.strout.net/macdev/simplsr///		last updated: 11/10/96#include "SpeechRecognition.h"Boolean HasSpeechRecognitionMgr (void);// The following functions MUST be defined by the user:void StartHearing();void HearPhrase( const long refcon, const Str255 text );void EndHearing();class LanguageModel {  friend class Recognizer;  public:	LanguageModel(const long refcon);	LanguageModel(const OSType resType='lmdl', const short resNum=128 );	~LanguageModel();		operator SRLanguageModel(void) { return mSRLanguageModel; }	OSErr	AddText( const Str255 text, const long refcon=0 );	OSErr	BecomeCurrent();	static LanguageModel		*cCurModel;//	virtual void HandleRecResult( const SRRecognitionResult& recResult );	virtual void HandleElement( const SRLanguageObject& obj );	  protected:  	static OSErr	InitClass();  	static void		CleanUpClass();  	SRLanguageModel		mSRLanguageModel;	static SRRecognitionSystem	cRecSystem;	static SRRecognizer			cRecognizer;	static int					cCount;};
