phonebookui/Phonebook2/remotecontactlookup/contactactionservice/inc/cfsccontactactionplugin.inl
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Implementation of class CFscContactActionPlugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <ecom.h>
       
    21 
       
    22 #include "fsccontactactionserviceuids.hrh"
       
    23 #include "tfsccontactactionpluginparams.h"
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CFscContactActionPlugin::NewL
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 inline CFscContactActionPlugin* CFscContactActionPlugin::NewL(
       
    30     TUid aPluginUid,
       
    31     TFscContactActionPluginParams& aParams )
       
    32     {
       
    33     TAny* paramsPtr = reinterpret_cast< TAny* >( &aParams );
       
    34     TAny* interface = REComSession::CreateImplementationL( aPluginUid, 
       
    35             _FOFF( CFscContactActionPlugin, iDtor_ID_Key ), paramsPtr );
       
    36 
       
    37     return reinterpret_cast< CFscContactActionPlugin* >( interface );
       
    38     }
       
    39     
       
    40 // ---------------------------------------------------------------------------
       
    41 // CFscContactActionPlugin::~CFscContactActionPlugin
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 inline CFscContactActionPlugin::~CFscContactActionPlugin()
       
    45     {
       
    46     REComSession::DestroyedImplementation( iDtor_ID_Key );
       
    47     }