|
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: test aknpictographinterface.h |
|
15 akniconsrvclient.h |
|
16 akniconutils.h |
|
17 akninternaliconutils.h |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 #include "akniconutilsext.h" |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CTestIconProvider::RetrieveIconFileHandleL |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 void CTestIconProvider::RetrieveIconFileHandleL( RFile& aFile, const TIconFileType aType ) |
|
32 { |
|
33 if ( !iEnv ) |
|
34 { |
|
35 iEnv = CEikonEnv::Static(); |
|
36 } |
|
37 RFs& tempFs = iEnv->FsSession(); |
|
38 if ( aType == EMbmFile ) |
|
39 { |
|
40 User::LeaveIfError( aFile.Open( tempFs, AknIconUtils::AvkonIconFileName(), |
|
41 EFileShareReadersOnly ) ); |
|
42 } |
|
43 else |
|
44 { |
|
45 _LIT( KMifFileName, "z:\\resource\\apps\\avkon2.mif" ); |
|
46 User::LeaveIfError( aFile.Open( tempFs, KMifFileName, EFileShareReadersOnly ) ); |
|
47 } |
|
48 } |
|
49 |
|
50 // ----------------------------------------------------------------------------- |
|
51 // CTestIconProvider::Finished |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 void CTestIconProvider::Finished() |
|
55 { |
|
56 } |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // CTestIconObserver::BitmapChanged |
|
60 // ----------------------------------------------------------------------------- |
|
61 // |
|
62 void CTestIconObserver::BitmapChanged( CFbsBitmap* /*aBitmap*/ ) |
|
63 { |
|
64 } |
|
65 |