📄 wsexampleapp.cpp
字号:
//
//============================================================================
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -