1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Con file provider for VIMPSTUI |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "cvimpstuiiconfileprovider.h" |
|
19 |
|
20 |
|
21 // ----------------------------------------------------------------------------- |
|
22 // CVIMPSTUiconFileProvider::CVIMPSTUiconFileProvider |
|
23 // (other items were commented in a header). |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 |
|
27 CVIMPSTUiconFileProvider::CVIMPSTUiconFileProvider( RFile& aFile ) |
|
28 : iFile( aFile ) |
|
29 { |
|
30 iFile.Duplicate( aFile ); |
|
31 } |
|
32 // ----------------------------------------------------------------------------- |
|
33 // CVIMPSTUiconFileProvider::~CVIMPSTUiconFileProvider |
|
34 // (other items were commented in a header). |
|
35 // ----------------------------------------------------------------------------- |
|
36 // |
|
37 |
|
38 CVIMPSTUiconFileProvider::~CVIMPSTUiconFileProvider() |
|
39 { |
|
40 iFile.Close(); |
|
41 } |
|
42 // ----------------------------------------------------------------------------- |
|
43 // CVIMPSTUiconFileProvider::RetrieveIconFileHandleL |
|
44 // (other items were commented in a header). |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 |
|
48 void CVIMPSTUiconFileProvider::RetrieveIconFileHandleL( RFile& aFile, const TIconFileType /*aType*/ ) |
|
49 { |
|
50 aFile.Duplicate( iFile ); |
|
51 } |
|
52 // ----------------------------------------------------------------------------- |
|
53 // CVIMPSTUiconFileProvider::Finished |
|
54 // (other items were commented in a header). |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 void CImContactsIconFileProvider::Finished() |
|
58 { |
|
59 delete this; |
|
60 } |
|
61 |
|