common/tools/ats/smoketest/localisation/apparchitecture/tef/TBufferOnlyRec/TBufferOnlyRec.h
changeset 793 0c32c669a39d
child 872 17498133d9ad
equal deleted inserted replaced
792:893b85cda81b 793:0c32c669a39d
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef TBUFFERONLYREC_H
       
    17 #define TBUFFERONLYREC_H
       
    18 
       
    19 #include <apmrec.h> 
       
    20 #include <f32file.h>
       
    21 
       
    22 class CBufferOnlyRec : public CApaDataRecognizerType
       
    23     {
       
    24 public: // Constructors and destructor
       
    25     CBufferOnlyRec();
       
    26     static CApaDataRecognizerType* CreateRecognizerL();
       
    27 
       
    28 public: // Functions from base classes
       
    29     TUint PreferredBufSize();
       
    30     TDataType SupportedDataTypeL(TInt aIndex) const;
       
    31     void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer);
       
    32 
       
    33 private:
       
    34     TInt iRecogs;
       
    35     };
       
    36 
       
    37 #endif