ActiveTimer.h
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1k
源码类别:

Symbian

开发平台:

C/C++

  1. // Copyright (c) 2006 Nokia Corporation.
  2. #ifndef _ACTIVE_TIMER_H
  3. #define _ACTIVE_TIMER_H
  4. #include <e32base.h>
  5. class CActiveTimer : public CActive
  6.     {
  7.     public: // construction / destruction
  8.     
  9.         static CActiveTimer* NewL();
  10.         ~CActiveTimer();
  11.     public: // new functions
  12.     
  13.         void After(TTimeIntervalMicroSeconds32 anInterval);
  14.     protected: // CActive overrides
  15.     
  16.         void RunL();
  17.         void DoCancel();
  18.     protected: // construction
  19.         CActiveTimer();
  20.         void ConstructL();
  21.     protected: // data
  22.     };
  23. #endif // _ACTIVE_TIMER_H
  24. // End of file