1 downloadslistdlgobserver.h |
1 /* |
|
2 * Copyright (c) 2002-2004 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 the License "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: Dialog observer M class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef DOWNLOADSLISTDLGOBSERVER_H |
|
21 #define DOWNLOADSLISTDLGOBSERVER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 #include <coedef.h> |
|
26 #include <w32std.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CDownloadsListDlg; |
|
30 class CEikMenuPane; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Observer interface of CDownloadsListDlg. |
|
36 * |
|
37 * @lib Download Manager UI Lib |
|
38 * @since Series 60 2.8 |
|
39 */ |
|
40 NONSHARABLE_CLASS( MDownloadsListDlgObserver ) |
|
41 { |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Called for layouting the dialog before executing it. |
|
46 */ |
|
47 virtual void PreLayoutDynInitL( CDownloadsListDlg& aDialog ) = 0; |
|
48 |
|
49 /** |
|
50 * Called for processing not dialog specific commands. |
|
51 */ |
|
52 virtual void ProcessCommandL( CDownloadsListDlg& aDialog, TInt aCommandId ) = 0; |
|
53 |
|
54 /** |
|
55 * Called for initializing Options menu. |
|
56 */ |
|
57 virtual void DynInitMenuPaneL( CDownloadsListDlg& aDialog, TInt aResourceId, CEikMenuPane* aMenuPane ) = 0; |
|
58 |
|
59 /** |
|
60 * Key events first forwarded to the observer. |
|
61 */ |
|
62 virtual TKeyResponse OfferKeyEventL( CDownloadsListDlg& aDialog, const TKeyEvent& aKeyEvent, TEventCode aType ) = 0; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif /* DOWNLOADSLISTDLGOBSERVER_H */ |
|
67 |