contenthandling/webrecognisers/waprecogniser/recwap.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2002-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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #if !defined(__RECWAP_H__)
       
    17 #define __RECWAP_H__
       
    18 
       
    19 
       
    20 // base includes
       
    21 #include <apmrec.h> // CApaDataRecognizerType
       
    22 
       
    23 
       
    24 // constants
       
    25 const TInt KMimeWapRecognizerValue=0x1000515E;
       
    26 const TUid KUidMimeWapRecognizer={KMimeWapRecognizerValue};
       
    27 
       
    28 
       
    29 //
       
    30 // CApaWapRecognizer
       
    31 //
       
    32 //##ModelId=3B666F81033C
       
    33 class CApaWapRecognizer : public CApaDataRecognizerType
       
    34 	{
       
    35 public: // from CApaDataRecognizerType
       
    36 	//##ModelId=3B666F81035B
       
    37 	CApaWapRecognizer();
       
    38 	//##ModelId=3B666F81035A
       
    39 	virtual TUint PreferredBufSize();
       
    40 	//##ModelId=3B666F810358
       
    41 	virtual TDataType SupportedDataTypeL(TInt aIndex) const;
       
    42 #ifdef __UI_FRAMEWORKS_V2__
       
    43 	static CApaDataRecognizerType* NewL();
       
    44 #endif //__UI_FRAMEWORKS_V2__
       
    45 private: // from CApaDataRecognizerType
       
    46 	//##ModelId=3B666F81034F
       
    47 	virtual void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer);
       
    48 	};
       
    49 
       
    50 #endif // __RECWAP_H__