2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Dialog observer M class
20 #ifndef DOWNLOADSLISTDLGOBSERVER_H
21 #define DOWNLOADSLISTDLGOBSERVER_H
28 // FORWARD DECLARATIONS
29 class CDownloadsListDlg;
35 * Observer interface of CDownloadsListDlg.
37 * @lib Download Manager UI Lib
38 * @since Series 60 2.8
40 NONSHARABLE_CLASS( MDownloadsListDlgObserver )
45 * Called for layouting the dialog before executing it.
47 virtual void PreLayoutDynInitL( CDownloadsListDlg& aDialog ) = 0;
50 * Called for processing not dialog specific commands.
52 virtual void ProcessCommandL( CDownloadsListDlg& aDialog, TInt aCommandId ) = 0;
55 * Called for initializing Options menu.
57 virtual void DynInitMenuPaneL( CDownloadsListDlg& aDialog, TInt aResourceId, CEikMenuPane* aMenuPane ) = 0;
60 * Key events first forwarded to the observer.
62 virtual TKeyResponse OfferKeyEventL( CDownloadsListDlg& aDialog, const TKeyEvent& aKeyEvent, TEventCode aType ) = 0;
66 #endif /* DOWNLOADSLISTDLGOBSERVER_H */