equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #include <ecom/ecom.h> |
|
22 #include <ecom/resolver.h> |
|
23 |
|
24 /** |
|
25 CExampleResolver implements a dummy custom resolver to test upgrade and |
|
26 SWI file overwrite. |
|
27 */ |
|
28 class CExampleResolver : public CResolver |
|
29 { |
|
30 public: |
|
31 static CExampleResolver* NewL(MPublicRegistry& aRegistry); |
|
32 ~CExampleResolver(); |
|
33 |
|
34 virtual TUid IdentifyImplementationL(TUid aInterfaceUid, |
|
35 const TEComResolverParams&) const; |
|
36 virtual RImplInfoArray* ListAllL(TUid aInterfaceUid, |
|
37 const TEComResolverParams&) const; |
|
38 virtual TInt GetSignature(void) const; |
|
39 |
|
40 protected: |
|
41 CExampleResolver(MPublicRegistry& aRegistry); |
|
42 virtual void VerifyVersionL(const CImplementationInformation* aImplInfo, TBool& aMe) const; |
|
43 }; |