⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcpipimpextimer.cpp

📁 series60 应用程序开发的源代码 series60 应用程序开发的源代码
💻 CPP
字号:
/**
*
* @brief Definition of CTcpipImpExTimer
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "TcpipImpExTimer.h"


CTcpipImpExTimer* CTcpipImpExTimer::NewL(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify)
{
    CTcpipImpExTimer* self = CTcpipImpExTimer::NewLC(aPriority, aTimeOutNotify);
    CleanupStack::Pop(self);
    return self;
}


CTcpipImpExTimer* CTcpipImpExTimer::NewLC(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify)
{
    CTcpipImpExTimer* self = new (ELeave) CTcpipImpExTimer(aPriority, aTimeOutNotify);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
}


CTcpipImpExTimer::CTcpipImpExTimer(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify)
: CTimer(aPriority), iNotify(aTimeOutNotify)
{
}


CTcpipImpExTimer::~CTcpipImpExTimer()
{
}


void CTcpipImpExTimer::ConstructL()
{
    CTimer::ConstructL();
    CActiveScheduler::Add(this);
}

void CTcpipImpExTimer::RunL()
{
    // Timer request has completed, so notify the timer's owner
    if (iStatus == KErrNone)
    {
        iNotify.TimerExpired();
    }

}

⌨️ 快捷键说明

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