landmarksui/uicontrols/inc/MLmkNavigationObserver.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2002 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 "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:    LandmarksUi Content File -    MLmkNavigationObserver class for observing tab navigation in
       
    15 *                dialog.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #ifndef MLMKNAVIGATIONOBSERVER_H
       
    27 #define MLMKNAVIGATIONOBSERVER_H
       
    28 
       
    29 //  INCLUDES
       
    30 #include <coedef.h>
       
    31 #include <w32std.h>
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 * MLmkNavigationObserver class for observing tab navigation in
       
    37 * dialog. Also allows observing dialog launching and closing.
       
    38 */
       
    39 class MLmkNavigationObserver
       
    40     {
       
    41     public: // New functions
       
    42         /**
       
    43         * Handle navigation events
       
    44         * @param aKeyEvent
       
    45         * @return TKeyResponse
       
    46         */
       
    47         virtual TKeyResponse HandleNavigationEventL(
       
    48                                 const TKeyEvent& aKeyEvent ) = 0;
       
    49 
       
    50         /**
       
    51         * Handle dialog launching. Called just before showing
       
    52         * the dialog, from dialog's PreLayoutDynInitL.
       
    53         */
       
    54         virtual void HandleLaunchingEventL() = 0;
       
    55 
       
    56         /**
       
    57         * Handle dialog closing. Called just before dialog will
       
    58         * be exited.
       
    59         */
       
    60         virtual void HandleClosingEventL() = 0;
       
    61     };
       
    62 
       
    63 #endif      // MLMKNAVIGATIONOBSERVER_H
       
    64 
       
    65 // End of File