silentsmsapplication.cpp
来自「symbian第二版秘密收发短信(不响铃不震动)的例子实现。」· C++ 代码 · 共 45 行
CPP
45 行
/*
============================================================================
Name : SilentSmsApplication.cpp
Author :
Version :
Copyright : Your copyright notice
Description : Main application class
============================================================================
*/
// INCLUDE FILES
#include "SilentSmsDocument.h"
#include "SilentSmsApplication.h"
// ============================ MEMBER FUNCTIONS ===============================
// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidSilentSmsApp = { 0xeb250af0 };
// -----------------------------------------------------------------------------
// CSilentSmsApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CSilentSmsApplication::CreateDocumentL()
{
// Create an SilentSms document, and return a pointer to it
return (static_cast<CApaDocument*>
( CSilentSmsDocument::NewL( *this ) ) );
}
// -----------------------------------------------------------------------------
// CSilentSmsApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CSilentSmsApplication::AppDllUid() const
{
// Return the UID for the SilentSms application
return KUidSilentSmsApp;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?