locationmapnavfw/aiwprovider/inc/mnnavigatetohandler.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:  CMnNavigateToHandler class declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MN_NAVIGATETOHANDLER_H
       
    20 #define MN_NAVIGATETOHANDLER_H
       
    21 
       
    22 #include "mnaiwcommandhandlerbase.h"
       
    23 
       
    24 class CMnNavigator;
       
    25 
       
    26 /** \internal
       
    27  *  Handler for KAiwCmdMnNavigateTo command 
       
    28  */
       
    29 class CMnNavigateToHandler : public CMnAiwCommandHandlerBase
       
    30     {
       
    31     public:
       
    32         static CMnNavigateToHandler* NewL(
       
    33             CMnProvider& aProvider,
       
    34             TRunMode aRunMode );
       
    35             
       
    36         ~CMnNavigateToHandler();            
       
    37         
       
    38     public: // from CMnAiwCommandHandlerBase
       
    39         TInt CommandId() { return KAiwCmdMnNavigateTo; };
       
    40         TBool IsAsyncCommand() { return EFalse; };
       
    41         
       
    42         void SetExitObserverL( MMnProviderExitCallback& aExitCallback );
       
    43 
       
    44     protected:
       
    45         CMnNavigateToHandler( CMnProvider& aProvider );
       
    46             
       
    47         void ConstructL( TRunMode aRunMode );            
       
    48 
       
    49     protected: // from CMnAiwCommandHandlerBase
       
    50         void HandleAiwParamLandmarksL( RArray<TPtrC8>& aLandmarkDataList );
       
    51         void ResetParametersL();
       
    52         void DoStartL();
       
    53 
       
    54     private:        
       
    55         CMnNavigator*   iNavigator;
       
    56         TPtrC8          iLandmarkData;
       
    57     };
       
    58 
       
    59 #endif // MN_NAVIGATETOHANDLER_H