iptel_plat/cch_server_api/inc/cchservice.inl
branchRCL_3
changeset 22 d38647835c2e
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2007 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CCHSERVICE_INL
       
    20 #define CCHSERVICE_INL
       
    21 
       
    22 //INCLUDES
       
    23 #include "cchserviceobserver.h"
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CCchService::CCchService 
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 inline CCchService::CCchService()
       
    30     {
       
    31     }
       
    32 
       
    33 // ---------------------------------------------------------------------------
       
    34 // CCchService::NewL 
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 inline CCchService* CCchService::NewL( TUid aImplementationUid,
       
    38                                        MCchServiceObserver& aCchObserver )
       
    39     {
       
    40     return reinterpret_cast< CCchService* >( 
       
    41                 REComSession::CreateImplementationL( 
       
    42                     aImplementationUid, 
       
    43                     _FOFF( CCchService, iInstanceKey ),
       
    44                     ( TAny* )( &aCchObserver ) ) );
       
    45     }
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 // CCchService::CCchService 
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 inline CCchService::~CCchService()
       
    52     {
       
    53     REComSession::DestroyedImplementation( iInstanceKey );
       
    54     }
       
    55 
       
    56 #endif // CCHSERVICE_INL
       
    57 
       
    58 // End of File