1.1 --- a/epoc32/include/e32power.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,66 +0,0 @@
1.4 -// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -// e32\include\e32power.h
1.18 -//
1.19 -//
1.20 -
1.21 -#ifndef __E32POWER_H__
1.22 -#define __E32POWER_H__
1.23 -
1.24 -#include <e32cmn.h>
1.25 -
1.26 -
1.27 -
1.28 -
1.29 -/**
1.30 -@publishedPartner
1.31 -@released
1.32 -
1.33 -System-wide power states
1.34 -*/
1.35 -enum TPowerState
1.36 - {
1.37 - /** The system is fully operational; could be busy or idle */
1.38 - EPwActive,
1.39 - /** The system sleeps keeping the full memory state in RAM */
1.40 - EPwStandby,
1.41 - /** System is off; can go to active by rebooting only */
1.42 - EPwOff,
1.43 - /** The system restarts - i.e. switches off and then back on */
1.44 - EPwRestart,
1.45 - /** An integer that strictly greater of any legal power state value */
1.46 - EPwLimit,
1.47 - };
1.48 -
1.49 -
1.50 -
1.51 -
1.52 -/**
1.53 -@publishedPartner
1.54 -@released
1.55 -
1.56 -User-level domain manager's interface to Kernel-level power management.
1.57 -*/
1.58 -class Power
1.59 -
1.60 - {
1.61 -public:
1.62 - IMPORT_C static TInt EnableWakeupEvents(TPowerState);
1.63 - IMPORT_C static void DisableWakeupEvents();
1.64 - IMPORT_C static void RequestWakeupEventNotification(TRequestStatus&);
1.65 - IMPORT_C static void CancelWakeupEventNotification();
1.66 - IMPORT_C static TInt PowerDown();
1.67 - };
1.68 -
1.69 -#endif