📄 example3dapp.cpp
字号:
/*
============================================================================
* Name : Example3DApp.cpp
* Part of : Example3D
* Description : Definition of Example3DApp
* Copyright (c) 2005 Nokia Corporation
============================================================================
*/
// INCLUDE FILES
#include "Example3DApp.h"
#include "Example3DDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CExample3DApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CExample3DApp::AppDllUid() const
{
return KUidExample3D;
}
// ---------------------------------------------------------
// CExample3DApp::CreateDocumentL()
// Creates CExample3DDocument object
// ---------------------------------------------------------
//
CApaDocument* CExample3DApp::CreateDocumentL()
{
return CExample3DDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CExample3DApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CExample3DApp;
}
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for Symbian 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 + -