sl@0: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Mda\Client\Recognizer.H sl@0: // sl@0: // sl@0: sl@0: #ifndef __MDA_CLIENT_RECOGNIZER_H__ sl@0: #define __MDA_CLIENT_RECOGNIZER_H__ sl@0: sl@0: #include sl@0: sl@0: #include sl@0: sl@0: /** sl@0: * @publishedAll sl@0: * @deprecated sl@0: */ sl@0: enum { KMdaResourceEntryParserNotImplemented = 0 }; sl@0: sl@0: sl@0: class TMdaResourceEntryParser; // declared here. sl@0: sl@0: sl@0: NONSHARABLE_CLASS( TMdaResourceEntryParser ) sl@0: /** sl@0: * @internalTechnology sl@0: */ sl@0: { sl@0: public: sl@0: enum TType sl@0: { sl@0: EConfigDef, sl@0: ESignature, sl@0: ECapabilities, sl@0: EExtension, sl@0: EStrings sl@0: }; sl@0: public: sl@0: IMPORT_C void Set(const TDesC8& aResource); sl@0: IMPORT_C TUint Count(TType aType) const; sl@0: IMPORT_C const TPtrC8 Entry(TType aType, TInt aIndex) const; sl@0: private: sl@0: TPtrC8 iPtr; sl@0: TUint iIndices[EStrings+1]; sl@0: TUint iCounts[EStrings+1]; sl@0: }; sl@0: sl@0: #endif