epoc32/include/mw/downloadslistdlgobserver.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/downloadslistdlgobserver.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/downloadslistdlgobserver.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,67 @@
     1.4 -downloadslistdlgobserver.h
     1.5 +/*
     1.6 +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Eclipse Public License v1.0"
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:  Dialog observer M class
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +#ifndef DOWNLOADSLISTDLGOBSERVER_H
    1.25 +#define DOWNLOADSLISTDLGOBSERVER_H
    1.26 +
    1.27 +//  INCLUDES
    1.28 +#include <e32def.h>
    1.29 +#include <coedef.h>
    1.30 +#include <w32std.h>
    1.31 +
    1.32 +// FORWARD DECLARATIONS
    1.33 +class CDownloadsListDlg;
    1.34 +class CEikMenuPane;
    1.35 +
    1.36 +// CLASS DECLARATION
    1.37 +
    1.38 +/**
    1.39 +*  Observer interface of CDownloadsListDlg.
    1.40 +*
    1.41 +*  @lib Download Manager UI Lib
    1.42 +*  @since Series 60 2.8
    1.43 +*/
    1.44 +NONSHARABLE_CLASS( MDownloadsListDlgObserver )
    1.45 +    {
    1.46 +    public:
    1.47 +
    1.48 +        /**
    1.49 +        * Called for layouting the dialog before executing it.
    1.50 +        */
    1.51 +        virtual void PreLayoutDynInitL( CDownloadsListDlg& aDialog ) = 0;
    1.52 +
    1.53 +        /**
    1.54 +        * Called for processing not dialog specific commands.
    1.55 +        */
    1.56 +        virtual void ProcessCommandL( CDownloadsListDlg& aDialog, TInt aCommandId ) = 0;
    1.57 +
    1.58 +        /**
    1.59 +        * Called for initializing Options menu.
    1.60 +        */
    1.61 +        virtual void DynInitMenuPaneL( CDownloadsListDlg& aDialog, TInt aResourceId, CEikMenuPane* aMenuPane ) = 0;
    1.62 +
    1.63 +        /**
    1.64 +        * Key events first forwarded to the observer.
    1.65 +        */
    1.66 +        virtual TKeyResponse OfferKeyEventL( CDownloadsListDlg& aDialog, const TKeyEvent& aKeyEvent, TEventCode aType ) = 0;
    1.67 +
    1.68 +    };
    1.69 +
    1.70 +#endif /* DOWNLOADSLISTDLGOBSERVER_H */
    1.71 +