contentstorage/casrv/casrvmgr/inc/casrvplugin.inl
changeset 85 7feec50967db
equal deleted inserted replaced
4:1a2a00e78665 85:7feec50967db
       
     1 /*
       
     2  * Copyright (c) 2009 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: casrvplugin.inl
       
    15  *
       
    16  */
       
    17 
       
    18 // -----------------------------------------------------------------------------
       
    19 //
       
    20 // -----------------------------------------------------------------------------
       
    21 //
       
    22 inline CCaSrvPlugin::CCaSrvPlugin()
       
    23     {
       
    24     }
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 inline CCaSrvPlugin::~CCaSrvPlugin()
       
    31     {
       
    32     // Destroy any instance variables and then
       
    33     // inform the framework that this specific
       
    34     // instance of the interface has been destroyed.
       
    35     REComSession::DestroyedImplementation( iDtor_ID_Key );
       
    36     }
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 inline CCaSrvPlugin* CCaSrvPlugin::NewL( TUid aUid,
       
    43         TPluginParams* aPluginParam )
       
    44     {
       
    45     return REINTERPRET_CAST( CCaSrvPlugin*,
       
    46             REComSession::CreateImplementationL( aUid,
       
    47                     _FOFF( CCaSrvPlugin, iDtor_ID_Key ), aPluginParam) );
       
    48     }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 inline void CCaSrvPlugin::ListAllImplementationsL(
       
    55         RImplInfoPtrArray& aImplInfoArray )
       
    56     {
       
    57     REComSession::ListImplementationsL( TUid::Uid( KCaSrvInterfaceUid ),
       
    58             aImplInfoArray );
       
    59     }
       
    60 
       
    61 // End of File