diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-95FA6DDA-E1C2-5148-9F18-4171BF06C9AC.dita --- a/Symbian3/PDK/Source/GUID-95FA6DDA-E1C2-5148-9F18-4171BF06C9AC.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-95FA6DDA-E1C2-5148-9F18-4171BF06C9AC.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,45 +1,45 @@ - - - - - -Creating -System-wide Property Policy Plug-inSystem-wide Properties (SwP) are attributes of a device that have -system-wide significance (for example, the power status or device lock status). -The value of any System-wide property is normally independent of the System -State, but the state and different properties can be combined with policy -to generate a new status indications and actions. -

The MSsmSwpPolicy, is an API which allows customization -of the behavior of system-wide property changes in the SSM.

Follow -the steps given below to create a system-wide property policy plug-in:

- - -Define a class from MSsmSwpPolicy interface. - - -Export the static method to create new system-wide property policy plug-in -as shown in the code snippet: - -EXPORT_C MSsmSwpPolicy* CSimStatuspolicy::NewL() -{ - CSimStatuspolicy* self = new (ELeave) CSimStatuspolicy; - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; -} - -The code returns a new plug-in object for system-wide property plug-in. - - -

The system-wide property policy plug-in is created.

-
-System-wide -Properties + + + + + +Creating +System-wide Property Policy Plug-inSystem-wide Properties (SwP) are attributes of a device that have +system-wide significance (for example, the power status or device lock status). +The value of any System-wide property is normally independent of the System +State, but the state and different properties can be combined with policy +to generate a new status indications and actions. +

The MSsmSwpPolicy, is an API which allows customization +of the behavior of system-wide property changes in the SSM.

Follow +the steps given below to create a system-wide property policy plug-in:

+ + +Define a class from MSsmSwpPolicy interface. + + +Export the static method to create new system-wide property policy plug-in +as shown in the code snippet: + +EXPORT_C MSsmSwpPolicy* CSimStatuspolicy::NewL() +{ + CSimStatuspolicy* self = new (ELeave) CSimStatuspolicy; + CleanupStack::PushL(self); + self->ConstructL(); + CleanupStack::Pop(self); + return self; +} + +The code returns a new plug-in object for system-wide property plug-in. + + +

The system-wide property policy plug-in is created.

+
+System-wide +Properties
\ No newline at end of file