locationmapnavfw/aiwprovider/inc/mnfetchaddresshandler.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_FETCHADDRESSHANDLER_H
       
    20 #define MN_FETCHADDRESSHANDLER_H
       
    21 
       
    22 #include "mngeocodingcmdhandlerbase.h"
       
    23 
       
    24 /** \internal
       
    25  *  Handler for KAiwCmdMnAddrByCoord command
       
    26  */
       
    27 class CMnFetchAddressHandler : public CMnGeocodingCmdHandlerBase
       
    28     {
       
    29     public:
       
    30         static CMnFetchAddressHandler* NewL( 
       
    31             CMnProvider& aProvider, 
       
    32             TRunMode aRunMode );
       
    33             
       
    34     public: // from CMnAiwCommandHandlerBase
       
    35         TInt CommandId() { return KAiwCmdMnAddrByCoord; };
       
    36         TBool IsAsyncCommand() { return ETrue; };
       
    37 
       
    38     protected:
       
    39         CMnFetchAddressHandler( CMnProvider& aProvider );
       
    40             
       
    41         void ConstructL( TRunMode aRunMode );
       
    42 
       
    43     protected: // from CMnAiwCommandHandlerBase
       
    44         void DoStartL();
       
    45 
       
    46     protected: // from CActive
       
    47         void RunL();
       
    48         void DoCancel();
       
    49     };
       
    50 
       
    51 #endif // MN_FETCHADDRESSHANDLER_H