threadaoapplication.cpp

来自「symbian的线程和活动对象源码」· C++ 代码 · 共 31 行

CPP
31
字号
/*
* ============================================================================
*  Name     : CThreadApplication from ThreadApplication.h
*  Part of  : ThreadAO
*  Created  : 12.1.2005 by Forum Nokia
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDES
#include "ThreadAODocument.h"
#include "ThreadAOApplication.h"

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

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

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

⌨️ 快捷键说明

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