navienginebsp/ne1_tb/inc/ne1_tb_power.inl
changeset 0 5de814552237
equal deleted inserted replaced
-1:000000000000 0:5de814552237
       
     1 /*
       
     2 * Copyright (c) 2008-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:  
       
    15 * ne1_tb\inc\ne1_tb_power.inl
       
    16 * NE1_TBVariant Power Management Inline file
       
    17 * -/-/-/-/-/-/-/-/-/ class TNE1_TBPowerController /-/-/-/-/-/-/-/-/-/
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 inline void TNE1_TBPowerController::RegisterPowerController(DNE1_TBPowerController* aPowerController)
       
    24 	{
       
    25     __PM_ASSERT(!iPowerController); 
       
    26     iPowerController = aPowerController;
       
    27 #if defined(__SMP__) && !defined(__NO_IDLE_HANDLER_PIL__)
       
    28     iIdleHandler = &aPowerController->iIdleHandler;
       
    29 #endif    
       
    30     }
       
    31