sl@0: // Copyright (c) 2006-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: // CClientRequestPerfTestResolver.h sl@0: // sl@0: // sl@0: sl@0: sl@0: #ifndef __CCLIENTREQUESTPERFTESTRESOLVER_H__ sl@0: #define __CCLIENTREQUESTPERFTESTRESOLVER_H__ sl@0: sl@0: #include "Resolver.h" sl@0: sl@0: /** sl@0: @since 9.2 sl@0: Controls the identification, (resolution), of which implementation sl@0: will be used to satisfy an interface implementation instantiation. sl@0: */ sl@0: class CClientRequestPerfTestResolver : public CResolver sl@0: { sl@0: public: sl@0: static CClientRequestPerfTestResolver* NewL(MPublicRegistry& aRegistry); sl@0: ~CClientRequestPerfTestResolver(); sl@0: TUid IdentifyImplementationL(TUid aInterfaceUid, const TEComResolverParams& aAdditionalParameters) const; sl@0: RImplInfoArray* ListAllL(TUid aInterfaceUid, sl@0: const TEComResolverParams& aAdditionalParameters)const ; sl@0: sl@0: private: sl@0: explicit CClientRequestPerfTestResolver(MPublicRegistry& aRegistry); sl@0: TUid Resolve(const RImplInfoArray& aImplementationsInfo, sl@0: const TEComResolverParams& aAdditionalParameters) const; sl@0: TBool Match(const TDesC8& aImplementationType, sl@0: const TDesC8& aMatchType, sl@0: TBool aUseWildcards) const; sl@0: sl@0: private: sl@0: mutable RImplInfoArray* iImplementationInfoArray; sl@0: }; sl@0: sl@0: #endif // __CCLIENTREQUESTPERFTESTRESOLVER_H__ sl@0: