examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04309.cb1/starter/src/ActiveTimer.cpp

00001 // Copyright (c) 2006 Nokia Corporation.
00002 
00003 #include "ActiveTimer.h"
00004 #include "ActiveTimerNotify.h"
00005 
00006 
00007 // Constructs a CActiveTimer object
00008 CActiveTimer* CActiveTimer::NewL()
00009     {
00010     CActiveTimer* self = new (ELeave) CActiveTimer();
00011     CleanupStack::PushL(self);
00012     self->ConstructL();
00013     CleanupStack::Pop();
00014     return self;
00015     }
00016 
00017 
00018 // C++ Destructor
00019 CActiveTimer::~CActiveTimer()
00020     {
00021     }
00022 
00023 
00024 // Initiates the asynchronous timer request and sets the active object
00025 // ready to handle its completion
00026 void CActiveTimer::After(TTimeIntervalMicroSeconds32 anInterval)
00027     {
00028     }
00029 
00030 
00031 // Handles the completion of the asynchronous timer request
00032 void CActiveTimer::RunL()
00033     {
00034     }
00035 
00036 
00037 // Handles the cleanup necessary if the 
00038 // asynchronous timer request is cancelled
00039 void CActiveTimer::DoCancel()
00040     {
00041     }
00042 
00043 
00044 // C++ constructor
00045 CActiveTimer::CActiveTimer() : 
00046     CActive(EPriorityStandard)
00047     {
00048     }
00049 
00050 
00051 // Second-phase constructor
00052 void CActiveTimer::ConstructL()
00053     {
00054     }
00055 
00056 // End of file

Generated by  doxygen 1.6.2