locationmapnavfw/aiwprovider/inc/mnmapviewcmdhandlerbase.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  CMnMapViewCmdHandlerBase class declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MN_MAPVIEWCMDHANDLERBASE_H
       
    20 #define MN_MAPVIEWCMDHANDLERBASE_H
       
    21 
       
    22 #include "mnaiwcommandhandlerbase.h"
       
    23 
       
    24 class CMnMapView;
       
    25 
       
    26 /** \internal
       
    27  *  Base class for MapView-related AIW commands
       
    28  */
       
    29 class CMnMapViewCmdHandlerBase : public CMnAiwCommandHandlerBase
       
    30     {
       
    31     public:
       
    32         ~CMnMapViewCmdHandlerBase();
       
    33         
       
    34     protected:
       
    35         CMnMapViewCmdHandlerBase( CMnProvider& aProvider );
       
    36             
       
    37         void ConstructL( TRunMode aRunMode );
       
    38         
       
    39         CMnMapView& MapView();
       
    40 
       
    41         /** Reads contents of EGenericParamMnMapOptions parameter */
       
    42         void ReadMapOptionsL( 
       
    43             const TAiwGenericParam& aParam,
       
    44             TMnAiwMapViewOptionsParam& aMapOptions );
       
    45 
       
    46 	public: // from CMnAiwCommandHandlerBase
       
    47 
       
    48         void SetExitObserverL( MMnProviderExitCallback& aExitCallback );
       
    49 
       
    50     protected: // from CMnAiwCommandHandlerBase
       
    51     
       
    52         void HandleAiwParamL( const TAiwGenericParam& aParam );
       
    53         void HandleAiwParamLandmarksL( RArray<TPtrC8>& aLandmarkDataList );
       
    54         void HandleAiwParamLandmarksListL( const TDesC& aDbUri, RArray<TPosLmItemId>& aLmIds );
       
    55         void ResetParametersL();
       
    56         
       
    57     protected:
       
    58         CMnMapView* iMapView;            
       
    59     };
       
    60     
       
    61 #endif //  MN_MAPVIEWCMDHANDLERBASE_H
       
    62