diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-5219F0F7-4BFA-5B1B-999C-FBE4E2228588.dita --- a/Symbian3/PDK/Source/GUID-5219F0F7-4BFA-5B1B-999C-FBE4E2228588.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-5219F0F7-4BFA-5B1B-999C-FBE4E2228588.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,16 +1,16 @@ - - - - - -How to create an RTimer

The following example code demonstrates how to set up an RTimer.

-RTimer timer; -TRequestStatus timerStatus; // Request status associated with timer -timer.CreateLocal(); // Create for this thread + + + + + +How to create an RTimer

The following example code demonstrates how to set up an RTimer.

  • Create the RTimer object

  • Call CreateLocal() on the timer object

  • Provide a TRequestStatus request.

+RTimer timer; +TRequestStatus timerStatus; // Request status associated with timer +timer.CreateLocal(); // Create for this thread ... // Now add code to use the timer
Note
  • The timer is always thread-relative.

\ No newline at end of file