location_plat/location_data_harvester_api/inc/maptilegeocoderplugin.inl
branchRCL_3
changeset 17 1fc85118c3ae
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
       
     1 /*
       
     2 * Copyright (c) 2010 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: This is partial interface implementation which is 
       
    15 *              used by plugins. 
       
    16 * 
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 
       
    23 #include <ecom/ecom.h>       // declares E-com framework classes
       
    24 
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // CMaptileGeocoderPlugin::~CMaptileGeocoderPlugin()
       
    28 // Destroys the plugin implementation
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 inline CMaptileGeocoderPlugin::~CMaptileGeocoderPlugin()
       
    32 {
       
    33     REComSession::DestroyedImplementation( iDtorKey );
       
    34 }
       
    35 
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // CMaptileGeocoderPlugin::NewL()
       
    39 // Creates the instance of CMaptileGeocoderPlugin concrete implementation.
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 inline CMaptileGeocoderPlugin* CMaptileGeocoderPlugin::NewL()
       
    43 {
       
    44     CMaptileGeocoderPlugin* self = reinterpret_cast<CMaptileGeocoderPlugin*>(
       
    45         REComSession::CreateImplementationL(
       
    46             KMaptileGeoCoderPluginUid, _FOFF( CMaptileGeocoderPlugin,iDtorKey ) ) );
       
    47 
       
    48     return self;
       
    49 }
       
    50 
       
    51 // End of file