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.
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@2
     5
* under the terms of the License "Eclipse Public License v1.0"
williamr@2
     6
* which accompanies this distribution, and is available
williamr@2
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description:  Dialog observer M class
williamr@2
    15
*
williamr@2
    16
*/
williamr@2
    17
williamr@2
    18
williamr@2
    19
williamr@2
    20
#ifndef DOWNLOADSLISTDLGOBSERVER_H
williamr@2
    21
#define DOWNLOADSLISTDLGOBSERVER_H
williamr@2
    22
williamr@2
    23
//  INCLUDES
williamr@2
    24
#include <e32def.h>
williamr@2
    25
#include <coedef.h>
williamr@2
    26
#include <w32std.h>
williamr@2
    27
williamr@2
    28
// FORWARD DECLARATIONS
williamr@2
    29
class CDownloadsListDlg;
williamr@2
    30
class CEikMenuPane;
williamr@2
    31
williamr@2
    32
// CLASS DECLARATION
williamr@2
    33
williamr@2
    34
/**
williamr@2
    35
*  Observer interface of CDownloadsListDlg.
williamr@2
    36
*
williamr@2
    37
*  @lib Download Manager UI Lib
williamr@2
    38
*  @since Series 60 2.8
williamr@2
    39
*/
williamr@2
    40
NONSHARABLE_CLASS( MDownloadsListDlgObserver )
williamr@2
    41
    {
williamr@2
    42
    public:
williamr@2
    43
williamr@2
    44
        /**
williamr@2
    45
        * Called for layouting the dialog before executing it.
williamr@2
    46
        */
williamr@2
    47
        virtual void PreLayoutDynInitL( CDownloadsListDlg& aDialog ) = 0;
williamr@2
    48
williamr@2
    49
        /**
williamr@2
    50
        * Called for processing not dialog specific commands.
williamr@2
    51
        */
williamr@2
    52
        virtual void ProcessCommandL( CDownloadsListDlg& aDialog, TInt aCommandId ) = 0;
williamr@2
    53
williamr@2
    54
        /**
williamr@2
    55
        * Called for initializing Options menu.
williamr@2
    56
        */
williamr@2
    57
        virtual void DynInitMenuPaneL( CDownloadsListDlg& aDialog, TInt aResourceId, CEikMenuPane* aMenuPane ) = 0;
williamr@2
    58
williamr@2
    59
        /**
williamr@2
    60
        * Key events first forwarded to the observer.
williamr@2
    61
        */
williamr@2
    62
        virtual TKeyResponse OfferKeyEventL( CDownloadsListDlg& aDialog, const TKeyEvent& aKeyEvent, TEventCode aType ) = 0;
williamr@2
    63
williamr@4
    64
        /**
williamr@4
    65
        * setting the downloadlist hide to the observer.
williamr@4
    66
        */
williamr@4
    67
        virtual void SetDownloadListHide( TBool aHide ) = 0;
williamr@4
    68
#ifdef BRDO_SINGLE_CLICK_ENABLED_FF
williamr@4
    69
        /**
williamr@4
    70
        * Adding Aiw Commands for the given MenuPane to the observer.
williamr@4
    71
        */
williamr@4
    72
        virtual void AIWPlugInMenusL(TInt aResourceId,CEikMenuPane* aMenuPane) = 0;
williamr@4
    73
#endif        
williamr@2
    74
    };
williamr@2
    75
williamr@2
    76
#endif /* DOWNLOADSLISTDLGOBSERVER_H */
williamr@2
    77