resourcemgmt/powerandmemorynotificationservice/inc/power.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __POWER_H__
       
    17 #define __POWER_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 
       
    22 /**
       
    23 Client power manager
       
    24 
       
    25 This class gives applications and servers access to
       
    26 UIKON's machine specific power management functionality
       
    27 as defined in LafPowerMan
       
    28 @internalComponent
       
    29 */
       
    30 class PowerManager
       
    31 	{
       
    32 public:
       
    33 	IMPORT_C static void SwitchOn();
       
    34 	};
       
    35 
       
    36 /**
       
    37 @internalComponent
       
    38 */
       
    39 enum TPowerManagerPanic { EPowerManagerCantGetDisplayState };
       
    40 
       
    41 #endif
       
    42 
       
    43