rpsapplication.cpp
来自「基于symbian UIQ 的一款古老的飞机游戏。对入门学习很有帮助。」· C++ 代码 · 共 44 行
CPP
44 行
// Copyright (c) Symbian Ltd 2008. All rights reserved.
// INCLUDE FILES
#include <eikstart.h>
#include "rps.hrh"
#include "rpsDocument.h"
#include "rpsApplication.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CRpsApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CRpsApplication::CreateDocumentL()
{
// Create an rps document, and return a pointer to it
return (static_cast<CApaDocument*>
( CRpsDocument::NewL( *this ) ) );
}
// -----------------------------------------------------------------------------
// CRpsApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CRpsApplication::AppDllUid() const
{
// Return the UID for the rps application
return KUidRpsApp;
}
// End of File
CApaApplication* NewApplication()
{
return new CRpsApplication;
}
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?