equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: Defines interface for the observer of thumbnail loader. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPHCNTTHUMBNAILLOADEROBSERVER_H |
|
20 #define MPHCNTTHUMBNAILLOADEROBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include "CPhCntThumbnailLoader.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CFbsBitmap; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * It defines interface for the observer of thumbnail loader. |
|
33 * |
|
34 * @lib PhoneCntFinder |
|
35 * @since 1.0 |
|
36 */ |
|
37 class MPhCntThumbnailLoaderObserver |
|
38 { |
|
39 public: // New functions |
|
40 |
|
41 /** |
|
42 * It is called when thumbnail loading has been completed. |
|
43 * |
|
44 * Ownership of the bitmap is transferred to the observer. |
|
45 * |
|
46 * @param aId id, never KNullId. |
|
47 * @param aResult error code. |
|
48 * @param aBitmap bitmap. |
|
49 */ |
|
50 virtual void MpctloThumbnailLoaded( |
|
51 CPhCntThumbnailLoader::TThumbnailId aId, |
|
52 TInt aResult, |
|
53 CFbsBitmap* aBitmap ) = 0; |
|
54 |
|
55 }; |
|
56 |
|
57 #endif // MPHCNTTHUMBNAILLOADEROBSERVER_H |
|
58 |
|
59 // End of File |