23 <li id="GUID-3AAA1DCD-F21A-53A2-8AB8-39F42396972D"><p>How to request |
23 <li id="GUID-3AAA1DCD-F21A-53A2-8AB8-39F42396972D"><p>How to request |
24 a change to an SWP, with and without notification </p> </li> |
24 a change to an SWP, with and without notification </p> </li> |
25 <li id="GUID-5022B224-8620-5AB8-B8C7-F95296DC7A14"><p>How to request |
25 <li id="GUID-5022B224-8620-5AB8-B8C7-F95296DC7A14"><p>How to request |
26 a change to a system state, with and without notification </p> </li> |
26 a change to a system state, with and without notification </p> </li> |
27 </ul> </section> |
27 </ul> </section> |
28 <section id="GUID-878E4690-1F02-5C15-8B4E-F53E8EA8719D-GENID-1-12-1-10-1-1-7-1-5-1-6-1-3-2"><title>Download</title><p>Click on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.zip" scope="external">ssmanager.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.html" scope="peer">browse</xref> to view the example code. </p> </section> |
28 <section id="GUID-878E4690-1F02-5C15-8B4E-F53E8EA8719D-GENID-1-12-1-11-1-1-7-1-5-1-6-1-3-2"><title>Download</title><p>Click on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.zip" scope="external">ssmanager.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.html" scope="peer">browse</xref> to view the example code. </p> </section> |
29 <section id="GUID-BD0B6948-73B3-4814-A8F4-BEF86DBE589E"><title>Class Summary</title><ul> |
29 <section id="GUID-BD0B6948-73B3-4814-A8F4-BEF86DBE589E"><title>Class |
|
30 Summary</title><ul> |
30 <li><p><xref href="GUID-60E6220E-5B9B-3D4E-A95F-B7AD6DB8AF68.dita"><apiname>TSsmSwp</apiname></xref></p></li> |
31 <li><p><xref href="GUID-60E6220E-5B9B-3D4E-A95F-B7AD6DB8AF68.dita"><apiname>TSsmSwp</apiname></xref></p></li> |
31 <li><p><xref href="GUID-CEBD45FB-5E0E-3EBA-B134-545B7F82EBEC.dita"><apiname>TSsmStateTransition</apiname></xref></p></li> |
32 <li><p><xref href="GUID-CEBD45FB-5E0E-3EBA-B134-545B7F82EBEC.dita"><apiname>TSsmStateTransition</apiname></xref></p></li> |
32 <li><p><xref href="GUID-76D2A5E8-BC64-3528-BED6-499E52CF8B2B.dita"><apiname>CSsmSystemWideProperty</apiname></xref></p></li> |
33 <li><p><xref href="GUID-76D2A5E8-BC64-3528-BED6-499E52CF8B2B.dita"><apiname>CSsmSystemWideProperty</apiname></xref></p></li> |
33 <li><p><xref href="GUID-89C25B0F-DB76-30D5-A4D6-0C12922194E4.dita"><apiname>RSsmStateAwareSession</apiname></xref></p></li> |
34 <li><p><xref href="GUID-89C25B0F-DB76-30D5-A4D6-0C12922194E4.dita"><apiname>RSsmStateAwareSession</apiname></xref></p></li> |
34 <li><p><xref href="GUID-8CE82869-EA9E-327C-B817-ACF497CCDC9D.dita"><apiname>RSsmStateManager</apiname></xref></p></li> |
35 <li><p><xref href="GUID-8CE82869-EA9E-327C-B817-ACF497CCDC9D.dita"><apiname>RSsmStateManager</apiname></xref></p></li> |
66 Hence, the existing Normal state policy file is updated with the changes |
67 Hence, the existing Normal state policy file is updated with the changes |
67 required to support these transitions. </p> </li> |
68 required to support these transitions. </p> </li> |
68 <li id="GUID-4F412BA5-3A79-5688-BD95-A3C384981FC1"><p> <filepath>dummybackup.exe</filepath>: The dummy application which is launched when the system state changes |
69 <li id="GUID-4F412BA5-3A79-5688-BD95-A3C384981FC1"><p> <filepath>dummybackup.exe</filepath>: The dummy application which is launched when the system state changes |
69 to 'backup'. It just prints a series of statements to the console. </p> </li> |
70 to 'backup'. It just prints a series of statements to the console. </p> </li> |
70 </ul> </section> |
71 </ul> </section> |
71 <section id="GUID-DEFCF4B9-452A-5EAF-ABD3-BC4F6FBD528B-GENID-1-12-1-10-1-1-7-1-5-1-6-1-3-5"><title>Building |
72 <section id="GUID-DEFCF4B9-452A-5EAF-ABD3-BC4F6FBD528B-GENID-1-12-1-11-1-1-7-1-5-1-6-1-3-5"><title>Building |
72 and configuring</title> <p>To build the example: </p> <ul> |
73 and configuring</title> <p>To build the example: </p> <ul> |
73 <li id="GUID-BCB63B67-BA41-5BE6-B80A-3DE0A0211A96"><p>The example |
74 <li id="GUID-BCB63B67-BA41-5BE6-B80A-3DE0A0211A96"><p>The example |
74 builds the following binaries </p> <p> <filepath>ssmanager.exe</filepath> </p> <p> <filepath>ssm.state.policy.0004.dll</filepath> </p> <p> <filepath>ssm.state.policy.0005.dll</filepath> </p> <p> <filepath>ssm.swp.policy.dummy.diskstatus.dll</filepath> </p> <p> <filepath>ssm.state.policy.0001.dll</filepath> </p> <p> <filepath>dummybackup.exe</filepath> </p> </li> |
75 builds the following binaries </p> <p> <filepath>ssmanager.exe</filepath> </p> <p> <filepath>ssm.state.policy.0004.dll</filepath> </p> <p> <filepath>ssm.state.policy.0005.dll</filepath> </p> <p> <filepath>ssm.swp.policy.dummy.diskstatus.dll</filepath> </p> <p> <filepath>ssm.state.policy.0001.dll</filepath> </p> <p> <filepath>dummybackup.exe</filepath> </p> </li> |
75 <li id="GUID-1D7646C4-40E8-5615-BD7C-DAFF33483CD5"><p>You can build |
76 <li id="GUID-1D7646C4-40E8-5615-BD7C-DAFF33483CD5"><p>You can build |
76 the example from your IDE or the command line. </p> <p>If you use |
77 the example from your IDE or the command line. </p> <p>If you use |
77 an IDE, import the <filepath>bld.inf</filepath> file of the example |
78 an IDE, import the <filepath>bld.inf</filepath> file of the example |
78 into your IDE, and use the build command of the IDE. </p> <p>If you |
79 into your IDE, and use the build command of the IDE. </p> <p>If you |
79 use the command line, open a command prompt, and set the current directory |
80 use the command line, open a command prompt, and set the current directory |
80 to the source code directory of the example. You can then build the |
81 to the source code directory of the example. You can then build the |
81 example with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake bldfiles</userinput> </p> <p><userinput>abld |
82 example with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake bldfiles</userinput> </p> <p><userinput>abld |
82 build</userinput> </p> <p><xref href="GUID-793A5EF9-CC16-5EEB-9011-6431EA76EB15.dita">How to use bldmake</xref> and <xref href="GUID-B6B54E07-3B34-5D5C-8815-93383FA8FB4B.dita">How to |
83 build</userinput> </p> </li> |
83 use abld</xref> describe how to use the SBSv1 build tools. </p> </li> |
|
84 <li id="GUID-53F53A62-94CE-5412-AD52-CC00D4A44053"><p>For the emulator, |
84 <li id="GUID-53F53A62-94CE-5412-AD52-CC00D4A44053"><p>For the emulator, |
85 the example builds <filepath>ssmanager.exe</filepath> in the <filepath>epoc32\release\winscw\<udeb or urel>\</filepath> folder. </p> </li> |
85 the example builds <filepath>ssmanager.exe</filepath> in the <filepath>epoc32\release\winscw\<udeb or urel>\</filepath> folder. </p> </li> |
86 </ul> </section> |
86 </ul> </section> |
87 </refbody><related-links> |
87 </refbody><related-links> |
88 <link href="GUID-26DBE128-6244-557E-989D-A4A608F43A0F.dita"><linktext>System |
88 <link href="GUID-26DBE128-6244-557E-989D-A4A608F43A0F.dita"><linktext>System |