smssendtestapplication.cpp

来自「在s60 v3版本中的发送短信的示例」· C++ 代码 · 共 46 行

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

// INCLUDE FILES
#include "SmsSendTestDocument.h"
#include "SmsSendTestApplication.h"

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

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

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

// -----------------------------------------------------------------------------
// CSmsSendTestApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CSmsSendTestApplication::AppDllUid() const
    {
    // Return the UID for the SmsSendTest application
    return KUidSmsSendTestApp;
    }

// End of File

⌨️ 快捷键说明

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