mmlibs/mmfw/inc/Mda/Client/Recognizer.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 1997-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 // Mda\Client\Recognizer.H
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __MDA_CLIENT_RECOGNIZER_H__
       
    19 #define __MDA_CLIENT_RECOGNIZER_H__
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 #include <mda/client/resource.h>
       
    24 
       
    25 /**
       
    26  * @publishedAll
       
    27  * @deprecated
       
    28  */
       
    29 enum { KMdaResourceEntryParserNotImplemented = 0 };
       
    30 
       
    31 
       
    32 class TMdaResourceEntryParser; // declared here.
       
    33 
       
    34 
       
    35 NONSHARABLE_CLASS( TMdaResourceEntryParser )
       
    36 /**
       
    37  * @internalTechnology
       
    38  */
       
    39 	{
       
    40 public:
       
    41 	enum TType
       
    42 		{
       
    43 		EConfigDef,
       
    44 		ESignature,
       
    45 		ECapabilities,
       
    46 		EExtension,
       
    47 		EStrings
       
    48 		};
       
    49 public:
       
    50 	IMPORT_C void Set(const TDesC8& aResource);
       
    51 	IMPORT_C TUint Count(TType aType) const;
       
    52 	IMPORT_C const TPtrC8 Entry(TType aType, TInt aIndex) const;
       
    53 private:
       
    54 	TPtrC8 iPtr;
       
    55 	TUint iIndices[EStrings+1];
       
    56 	TUint iCounts[EStrings+1];
       
    57 	};
       
    58 
       
    59 #endif