iptel_plat/cch_server_api/inc/cchservice.inl
changeset 0 a4daefaec16c
child 20 65a3ef1d5bd0
equal deleted inserted replaced
-1:000000000000 0:a4daefaec16c
       
     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