diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/example_recognizer_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/example_recognizer_8h-source.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,53 @@ + +
+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 +