homescreensrv_plat/external_home_screen_api/inc/ExtrStandbyScr.inl
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2005-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 API for a external standby screen
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDES
       
    20 
       
    21 // ---------------------------------------------------------
       
    22 // CExtrStandbyScr::NewL
       
    23 // ---------------------------------------------------------
       
    24 //
       
    25 inline CExtrStandbyScr* CExtrStandbyScr::NewL(TUid aImplementationUid,CCoeControl *aContainer)
       
    26 	{
       
    27 	return REINTERPRET_CAST(CExtrStandbyScr*,
       
    28 		                    REComSession::CreateImplementationL (aImplementationUid,
       
    29 															     _FOFF (CExtrStandbyScr, iDtor_ID_Key),
       
    30 																 aContainer)) ;
       
    31 	}
       
    32 
       
    33 // ---------------------------------------------------------
       
    34 // CExtrStandbyScr::~CExtrStandbyScr
       
    35 // ---------------------------------------------------------
       
    36 //
       
    37 inline CExtrStandbyScr::~CExtrStandbyScr()
       
    38 	{
       
    39     // Destroy any instance variables and then
       
    40     // inform the framework that this specific
       
    41     // instance of the interface has been destroyed.
       
    42 	REComSession::DestroyedImplementation (iDtor_ID_Key);
       
    43 	}
       
    44 
       
    45 // ---------------------------------------------------------
       
    46 // CExtrStandbyScr::GetNextSizeDecrement
       
    47 // ---------------------------------------------------------
       
    48 //
       
    49 inline TSize CExtrStandbyScr::GetNextSizeDecrement()
       
    50 	{
       
    51 	return TSize(0,0);
       
    52 	}
       
    53 
       
    54 // ---------------------------------------------------------
       
    55 // CExtrStandbyScr::ResetToDefaultState
       
    56 // ---------------------------------------------------------
       
    57 //
       
    58 inline void CExtrStandbyScr::ResetToDefaultState()
       
    59 	{
       
    60 	}
       
    61 
       
    62 // ---------------------------------------------------------
       
    63 // CExtrStandbyScr::SetLayoutL
       
    64 // ---------------------------------------------------------
       
    65 //
       
    66 inline TSize CExtrStandbyScr::GetPreferedSize()
       
    67 	{
       
    68 	return GetMaxSize();
       
    69 	}
       
    70 
       
    71 #ifndef __ACTIVE_IDLE
       
    72 // -----------------------------------------------------------------------------
       
    73 // CExtrStandbyScr::Draw
       
    74 // -----------------------------------------------------------------------------
       
    75 //
       
    76 inline void CExtrStandbyScr::Draw(const TRect& /*aRect*/) const
       
    77      {
       
    78      }
       
    79 #endif