threadapplication.cpp

来自「这是Symbian平台实现多线程的实例.对初学者非常有帮助.」· C++ 代码 · 共 29 行

CPP
29
字号
/*
* ============================================================================
*  Name     : CThreadApplication from CThreadApplication.h
*  Part of  : Thread
*  Created  : 04.02.2005 by Forum Nokia
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDES
#include "ThreadDocument.h"
#include "ThreadApplication.h"

// UID for the application; this should correspond to the uid defined in the mmp file
const TUid KUidThreadApp = {0x101FF1CC};

CApaDocument* CThreadApplication::CreateDocumentL()
    {  
    // Create an Thread document, and return a pointer to it
    return (static_cast<CApaDocument*>(CThreadDocument::NewL(*this))); 
    }

TUid CThreadApplication::AppDllUid() const
    {
    // Return the UID for the Thread application
    return KUidThreadApp;
    }

⌨️ 快捷键说明

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