examples/AppFramework/Recogniser/exampleRecognizer.h

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 #if !defined(__EXAMPLERECOGNIZER_H__)
00017 #define __EXAMPLERECOGNIZER_H__
00018 
00019 #if !defined(__APMREC_H__)
00020 #include <apmrec.h>
00021 #endif
00022 
00023 /*
00024 CExampleNewRecognizer is a concrete data recognizer.
00025 It implements CApaDataRecognizerType, the abstract base 
00026 class for recognizers.
00027 */
00028 class CExampleNewRecognizer: public CApaDataRecognizerType
00029         {
00030 public:
00031     CExampleNewRecognizer();
00032     TUint PreferredBufSize();
00033         TDataType SupportedDataTypeL(TInt) const;   
00034     static CApaDataRecognizerType* CreateRecognizerL();
00035 private:
00036     void DoRecognizeL(const TDesC&, const TDesC8&);
00037         };
00038 
00039 #endif
00040 
00041 

Generated on Thu Jan 21 10:32:54 2010 for TB10.1 Example Applications by  doxygen 1.5.3