diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-2382F758-35CF-4378-A5D5-183121E3BF6A.dita --- a/Symbian3/PDK/Source/GUID-2382F758-35CF-4378-A5D5-183121E3BF6A.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-2382F758-35CF-4378-A5D5-183121E3BF6A.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,22 +1,22 @@ - - - - - -Releasing -the instance -

When the CHWRMLight instance is not required -anymore, it must be released. If some target is still reserved to the client, -the target is released when the instance is released.

The following -code snippet demonstrates how to release the instance created using NewLC():

CleanupStack::PopAndDestroy( light );

The following code snippet demonstrates how to release the instance created -using NewL():

CLightStatusObserver::~CLightStatusObserver() - { - delete iLight; - }
+ + + + + +Releasing +the instance +

When the CHWRMLight instance is not required +anymore, it must be released. If some target is still reserved to the client, +the target is released when the instance is released.

The following +code snippet demonstrates how to release the instance created using NewLC():

CleanupStack::PopAndDestroy( light );

The following code snippet demonstrates how to release the instance created +using NewL():

CLightStatusObserver::~CLightStatusObserver() + { + delete iLight; + }
\ No newline at end of file