diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/gsastatepolicynormal_8mmp-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/gsastatepolicynormal_8mmp-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ - -
-00001 //gsastatepolicynormal.mmp -00002 // -00003 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -00004 // All rights reserved. -00005 // This component and the accompanying materials are made available -00006 // under the terms of "Eclipse Public License v1.0" -00007 // which accompanies this distribution, and is available -00008 // at the URL "http://www.eclipse.org/legal/epl-v10.html". -00009 // -00010 // Initial Contributors: -00011 // Nokia Corporation - initial contribution. -00012 // -00013 // Contributors: -00014 // -00015 // Description: -00016 // GSA stands for Generic Startup Architecture -00017 // Existing gsastatepolicynormal is extended to support the dummy -00018 // backup and restore states added as part of this example. -00019 // This example code replaces the actual normal policy with the example normal policy -00020 // which supports backup and restore states (dummy) -00021 // -00022 // This example Normal State policy,Creates and Registers a SwP i.e "ssm.swp.policy.dummy.diskstatus.dll" -00023 // with key KExampleSwPKey and KExampleSwPValue, which are defined in "ssm_cmdlist_swp_dummy_diskstatus.rss" -00024 -00025 TARGET ssm.state.policy.0001.dll -00026 TARGETTYPE dll -00027 UID 0x2000D75D 0xE80000F8 -00028 -00029 //This capability is required for a System State policy file -00030 CAPABILITY PowerMgmt ReadDeviceData WriteDeviceData ProtServ DiskAdmin SwEvent -00031 -00032 SYSTEMINCLUDE /epoc32/include -00033 USERINCLUDE ../policies/sysstates/ -00034 USERINCLUDE ../policies/swp/ -00035 -00036 SOURCEPATH ../policies/sysstates/ -00037 SOURCE gsastatepolicynormal.cpp -00038 -00039 START RESOURCE gsanormalcmdlist.rss -00040 TARGETPATH /private/2000d75b/normal -00041 TARGET gsanormalcmdlist.rsc -00042 END -00043 -00044 DEFFILE gsastatepolicynormal.def -00045 -00046 LIBRARY euser.lib -00047 LIBRARY ssmcmn.lib -00048 LIBRARY ssmcmd.lib -00049 LIBRARY bafl.lib -00050 LIBRARY efsrv.lib -00051 -00052 SMPSAFE -