locationmapnavfw/aiwprovider/inc/mnfetchcoordinateshandler.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:  CMnFetchCoordinatesHandler class declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MN_FETCHCOORDINATESHANDLER_H
       
    20 #define MN_FETCHCOORDINATESHANDLER_H
       
    21 
       
    22 #include "mngeocodingcmdhandlerbase.h"
       
    23 
       
    24 /** \internal
       
    25  *  Handler fo KAiwCmdMnCoordByAddr AIW command
       
    26  */
       
    27 class CMnFetchCoordinatesHandler : public CMnGeocodingCmdHandlerBase
       
    28     {
       
    29     public:
       
    30         static CMnFetchCoordinatesHandler* NewL( 
       
    31             CMnProvider& aProvider, TRunMode aRunMode );
       
    32 
       
    33     public: // from CMnAiwCommandHandlerBase
       
    34         void Start();
       
    35         TInt CommandId() { return KAiwCmdMnCoordByAddr; };
       
    36         TBool IsAsyncCommand() { return ETrue; };
       
    37 
       
    38     protected:
       
    39         CMnFetchCoordinatesHandler( CMnProvider& aProvider );
       
    40             
       
    41         void ConstructL( TRunMode aRunMode );
       
    42 
       
    43     protected: // from CActive
       
    44         void RunL();
       
    45         void DoCancel();
       
    46 
       
    47     protected: // from CMnAiwCommandHandlerBase
       
    48         void HandleAiwParamL( const TAiwGenericParam& aParam );
       
    49         void HandleAiwParamLandmarksL( RArray<TPtrC8>& aLandmarkDataList );
       
    50         void ResetParametersL();
       
    51         void DoStartL();
       
    52 
       
    53     protected:
       
    54         TPtrC   iPlainAddress;
       
    55     };
       
    56 
       
    57 #endif // MN_FETCHCOORDINATESHANDLER_H