linkedmessageboxapplication.cpp

来自「这是Symbian平台下软件里实现超链接的对话框,非常方便实用.只要点按下超链接」· C++ 代码 · 共 45 行

CPP
45 行
字号
/*
============================================================================
 Name        : LinkedMessageboxApplication.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "LinkedMessageboxDocument.h"
#include "LinkedMessageboxApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

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

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

// -----------------------------------------------------------------------------
// CLinkedMessageboxApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CLinkedMessageboxApplication::AppDllUid() const
    {
    // Return the UID for the LinkedMessagebox application
    return KUidLinkedMessageboxApp;
    }

// End of File

⌨️ 快捷键说明

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