epoc32/include/mw/downloadslistdlgobserver.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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         * setting the downloadlist hide to the observer.
    66         */
    67         virtual void SetDownloadListHide( TBool aHide ) = 0;
    68 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF
    69         /**
    70         * Adding Aiw Commands for the given MenuPane to the observer.
    71         */
    72         virtual void AIWPlugInMenusL(TInt aResourceId,CEikMenuPane* aMenuPane) = 0;
    73 #endif        
    74     };
    75 
    76 #endif /* DOWNLOADSLISTDLGOBSERVER_H */
    77