wsexampleapp.cpp
来自「Symbian智能手机操作系统源代码值的参考_服务器」· C++ 代码 · 共 66 行
CPP
66 行
//
//============================================================================
// Name : CWSExampleApp from WSExampleApp.cpp
// Part of : WSExample
// Created : 10/08/2005 by Forum Nokia
// Implementation notes: simple ui control
//
// Version : 1.0
// Copyright: Nokia Corporation
//============================================================================
//
// INCLUDE FILES
#include "WSExampleApp.h"
#include "WSExampleDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CWSExampleApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CWSExampleApp::AppDllUid() const
{
return KUidWSExample;
}
// ---------------------------------------------------------
// CWSExampleApp::CreateDocumentL()
// Creates CWSExampleDocument object
// ---------------------------------------------------------
//
CApaDocument* CWSExampleApp::CreateDocumentL()
{
return CWSExampleDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CWSExampleApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CWSExampleApp;
}
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?