activeobjapplication.cpp

来自「活动对象的例子,是从诺基亚的网站上下载的」· C++ 代码 · 共 40 行

CPP
40
字号
/*
============================================================================
 Name        : ActiveObjApplication.cpp
 Author      : 
 Version     :
 Copyright   : Forum Nokia, 2006
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "ActiveObjDocument.h"
#include "ActiveObjApplication.h"


// -----------------------------------------------------------------------------
// CActiveObjApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CActiveObjApplication::CreateDocumentL()
    {
    // Create an ActiveObj document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CActiveObjDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CActiveObjApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CActiveObjApplication::AppDllUid() const
    {
    // Return the UID for the ActiveObj application
    return KUidActiveObjApp;
    }

// End of File

⌨️ 快捷键说明

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