contentstorage/extinc/cahandlerplugin.inl
changeset 61 8e5041d13c84
parent 60 f62f87b200ec
child 66 32469d7d46ff
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
     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:  ?Description
       
    15  *
       
    16  */
       
    17 
       
    18 // -----------------------------------------------------------------------------
       
    19 //
       
    20 // -----------------------------------------------------------------------------
       
    21 //
       
    22 inline CCaHandlerPlugin* CCaHandlerPlugin::NewL( TUid aImplementationUid )
       
    23     {
       
    24     TAny* ptr = REComSession::CreateImplementationL( aImplementationUid,
       
    25             _FOFF( CCaHandlerPlugin, iDtor_ID_Key ) );
       
    26     return reinterpret_cast<CCaHandlerPlugin*> ( ptr );
       
    27     }
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 inline CCaHandlerPlugin::CCaHandlerPlugin()
       
    34     {
       
    35     }
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 inline CCaHandlerPlugin::~CCaHandlerPlugin()
       
    42     {
       
    43     REComSession::DestroyedImplementation( iDtor_ID_Key );
       
    44     }