1 // Copyright (c) 1997-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #if !defined(SAVEPRIV_H)
20 _LIT(__SHUTDOWN_SERVER_NAME,"!ShutdownServer");
25 const TInt KShutdownMajorVN =6;
26 const TInt KShutdownMinorVN =0;
27 const TInt KShutdownBuildVN =1;
28 const TInt KShutdownMessageSlots =1;
33 enum TSaveNotifierOpCode
36 TSaveOpCodeNotifyCancel,
37 TSaveOpCodeHandleError,
38 TSaveOpCodePowerOff, //Supported only in special test debug build.
39 TSaveOpCodeQueryPowerState //Supported only in special test debug build.
45 struct TErrorAndClientId
52 // TShutdownServerStart
57 class TShutdownServerStart
60 TShutdownServerStart(TRequestStatus& aStatus);
61 TPtrC AsCommand() const;
63 TShutdownServerStart();
68 TRequestStatus* iStatus;