equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MLOGODOWNLOADOBSERVER_H |
|
19 #define MLOGODOWNLOADOBSERVER_H |
|
20 |
|
21 #include <e32def.h> |
|
22 |
|
23 #include "irisdspreset.h" |
|
24 |
|
25 class CIRIsdsPreset; |
|
26 |
|
27 /** |
|
28 * MLogoDownloadObserver |
|
29 * passes id of a preset which has downloaded the logo. |
|
30 * An instance of this class must be provided while calling the API SendRequestL() of |
|
31 * CIRLogoDownloadEngine. The call of the API SendRequestL() is from NowPlayingView. |
|
32 */ |
|
33 class MLogoDownloadObserver |
|
34 { |
|
35 public: |
|
36 |
|
37 |
|
38 /** |
|
39 * MLogoDownloadObserver::PresetLogoDownloadedL() |
|
40 * called back when a preset's logo has downloaded |
|
41 * @param CIRIsdsPreset*, preset with downloaded logo |
|
42 */ |
|
43 virtual void PresetLogoDownloadedL(CIRIsdsPreset* aPreset)=0; |
|
44 |
|
45 /** |
|
46 * MLogoDownloadObserver::PresetLogoDownloadError() |
|
47 * called back when a preset's logo has not downloaded |
|
48 * @param CIRIsdsPreset*, preset with no logo data |
|
49 */ |
|
50 virtual void PresetLogoDownloadError(CIRIsdsPreset* aPreset)=0; |
|
51 |
|
52 |
|
53 |
|
54 }; |
|
55 |
|
56 #endif // MLOGODOWNLOADOBSERVER_H |
|