activetimer.cpp

来自「symbian os s60 3rd 活动对象的使用」· C++ 代码 · 共 56 行

CPP
56
字号
// Copyright (c) 2006 Nokia Corporation.

#include "ActiveTimer.h"
#include "ActiveTimerNotify.h"


// Constructs a CActiveTimer object
CActiveTimer* CActiveTimer::NewL()
    {
    CActiveTimer* self = new (ELeave) CActiveTimer();
    CleanupStack::PushL(self);
    self->ConstructL();
    CleanupStack::Pop();
    return self;
    }


// C++ Destructor
CActiveTimer::~CActiveTimer()
    {
    }


// Initiates the asynchronous timer request and sets the active object
// ready to handle its completion
void CActiveTimer::After(TTimeIntervalMicroSeconds32 anInterval)
    {
    }


// Handles the completion of the asynchronous timer request
void CActiveTimer::RunL()
    {
    }


// Handles the cleanup necessary if the 
// asynchronous timer request is cancelled
void CActiveTimer::DoCancel()
    {
    }


// C++ constructor
CActiveTimer::CActiveTimer() : 
    CActive(EPriorityStandard)
    {
    }


// Second-phase constructor
void CActiveTimer::ConstructL()
    {
    }

// End of file

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?