📄 example3dapp.cpp
字号:
/*
============================================================================
* Name : Example3DApp.cpp
* Part of : Example3D
* Description : Definition of Example3DApp
* Copyright (c) 2007 Nokia Corporation
============================================================================
*/
// INCLUDE FILES
#include "Example3DApp.h"
#include "Example3DDocument.h"
#include <eikstart.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;
}
// ---------------------------------------------------------
// E32Main
// main function for Symbian OS v9 EXE application.
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication ( NewApplication );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -