diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-4D6FBF03-FA0A-5D79-A8B9-4C0B52303CF1.dita --- a/Symbian3/PDK/Source/GUID-4D6FBF03-FA0A-5D79-A8B9-4C0B52303CF1.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-4D6FBF03-FA0A-5D79-A8B9-4C0B52303CF1.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,41 +1,41 @@ - - - - - -Creating -System Utility Policy plug-inSystem Utility Policy plug-ins in the SSM Utility Server are intended -to monitor some property of the system. It is used by the SSM for efficient -handling of a system property change. -

MSsmUtility is an API which allows customization -of the behavior of the SSM Utility Server. The MSsmUtility interface -is used for plug-ins in the SSM Utility Server to monitor the device.

Follow -the steps given below to create a SUP plug-in:
- - -Define a class that implements MSsmUtility interface. - - -Export the static method to create new System Utility Policy plug-in -as shown in the code snippet: - -EXPORT_C MSsmUtility* CLafShutdownEventObserverAdaptor::NewL() -{ - CLafShutdownEventObserverAdaptor* self = new (ELeave) CLafShutdownEventObserverAdaptor(); - return static_cast<MSsmUtility*>(self); -} - -The code returns a new plug-in object for SUP plug-in. - - -

The System Utility Policy plug-in is created.

-
-Creating -System-wide Property Policy plug-in + + + + + +Creating +System Utility Policy plug-inSystem Utility Policy plug-ins in the SSM Utility Server are intended +to monitor some property of the system. It is used by the SSM for efficient +handling of a system property change. +

MSsmUtility is an API which allows customization +of the behavior of the SSM Utility Server. The MSsmUtility interface +is used for plug-ins in the SSM Utility Server to monitor the device.

Follow +the steps given below to create a SUP plug-in:
+ + +Define a class that implements MSsmUtility interface. + + +Export the static method to create new System Utility Policy plug-in +as shown in the code snippet: + +EXPORT_C MSsmUtility* CLafShutdownEventObserverAdaptor::NewL() +{ + CLafShutdownEventObserverAdaptor* self = new (ELeave) CLafShutdownEventObserverAdaptor(); + return static_cast<MSsmUtility*>(self); +} + +The code returns a new plug-in object for SUP plug-in. + + +

The System Utility Policy plug-in is created.

+
+Creating +System-wide Property Policy plug-in
\ No newline at end of file