idlehomescreen/inc/extrstandbycontainerif.inl
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2007-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:  Define the inteface for the container of externale standby screen plug-ins
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // -----------------------------------------------------------------------------
       
    20 // CExtrStandbyContainerIF::NewL
       
    21 // -----------------------------------------------------------------------------
       
    22 //
       
    23 inline CExtrStandbyContainerIF* CExtrStandbyContainerIF::NewL(
       
    24     TUid aImplementationUid, 
       
    25     CCoeControl *aContainer )
       
    26     {
       
    27     return REINTERPRET_CAST( CExtrStandbyContainerIF*, 
       
    28         REComSession::CreateImplementationL( 
       
    29             aImplementationUid, 
       
    30             _FOFF( 
       
    31                 CExtrStandbyContainerIF, 
       
    32                 iDtor_ID_Key ), 
       
    33             aContainer ) ) ;
       
    34     }
       
    35     
       
    36 // -----------------------------------------------------------------------------
       
    37 // CExtrStandbyContainerIF::~CExtrStandbyContainerIF
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 inline CExtrStandbyContainerIF::~CExtrStandbyContainerIF()
       
    41     {
       
    42     // Destroy any instance variables and then
       
    43     // inform the framework that this specific
       
    44     // instance of the interface has been destroyed.
       
    45     REComSession::DestroyedImplementation( iDtor_ID_Key );
       
    46     }