|
1 // Copyright (c) 2006-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 // CClientRequestPerfTestResolver.h |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 #ifndef __CCLIENTREQUESTPERFTESTRESOLVER_H__ |
|
20 #define __CCLIENTREQUESTPERFTESTRESOLVER_H__ |
|
21 |
|
22 #include "Resolver.h" |
|
23 |
|
24 /** |
|
25 @since 9.2 |
|
26 Controls the identification, (resolution), of which implementation |
|
27 will be used to satisfy an interface implementation instantiation. |
|
28 */ |
|
29 class CClientRequestPerfTestResolver : public CResolver |
|
30 { |
|
31 public: |
|
32 static CClientRequestPerfTestResolver* NewL(MPublicRegistry& aRegistry); |
|
33 ~CClientRequestPerfTestResolver(); |
|
34 TUid IdentifyImplementationL(TUid aInterfaceUid, const TEComResolverParams& aAdditionalParameters) const; |
|
35 RImplInfoArray* ListAllL(TUid aInterfaceUid, |
|
36 const TEComResolverParams& aAdditionalParameters)const ; |
|
37 |
|
38 private: |
|
39 explicit CClientRequestPerfTestResolver(MPublicRegistry& aRegistry); |
|
40 TUid Resolve(const RImplInfoArray& aImplementationsInfo, |
|
41 const TEComResolverParams& aAdditionalParameters) const; |
|
42 TBool Match(const TDesC8& aImplementationType, |
|
43 const TDesC8& aMatchType, |
|
44 TBool aUseWildcards) const; |
|
45 |
|
46 private: |
|
47 mutable RImplInfoArray* iImplementationInfoArray; |
|
48 }; |
|
49 |
|
50 #endif // __CCLIENTREQUESTPERFTESTRESOLVER_H__ |
|
51 |