Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CAT/CATSpeechCmds.h Source File

CATSpeechCmds.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------
00002 /// \class   CATSpeechCmds.h
00003 /// \brief   Speech command input support
00004 /// \ingroup CATGUI
00005 /// 
00006 /// Copyright (c) 2008 by Michael Ellison.
00007 /// See COPYING.txt for the \ref gaslicense License (MIT License).
00008 ///
00009 // $Author: mikeellison $
00010 // $Date: 2008-01-27 01:25:54 -0600 (Sun, 27 Jan 2008) $
00011 // $Revision:   $
00012 // $NoKeywords: $
00013 //
00014 //---------------------------------------------------------------------------
00015 #ifndef _CATSPEECHCMDS_H_
00016 #define _CATSPEECHCMDS_H_
00017 
00018 #include "CATInternal.h"
00019 #include "CATMsgThread.h"
00020 #include <sapi.h>
00021 
00022 class CATSpeechCmds : public CATMsgThread
00023 {
00024     public:
00025         CATSpeechCmds();
00026         virtual ~CATSpeechCmds();
00027 
00028 
00029     protected:
00030         virtual void ThreadFunction();
00031         CATResult InitializeSAPI();
00032         void      UninitializeSAPI();
00033 
00034         // Mostly windows specific - should back this out into child class
00035         ISpRecognizer*  fRecognizer;
00036         ISpRecoContext* fRecoContext;
00037         ISpRecoGrammar* fRecoGrammar;
00038 
00039 };
00040 
00041 #endif //_CATSPEECHCMDS_H_

Generated on Mon Feb 11 04:09:47 2008 for Game Accessibility Suite by doxygen 1.5.4