point24application.cpp
来自「symbian平台下的24点游戏编程 很适合初学者的例子」· C++ 代码 · 共 52 行
CPP
52 行
/*
========================================================================
Name : Point24Application.cpp
Author : luomao2000
Copyright : luomao2000@tom.com
Reserved
Description :
========================================================================
*/
#include "Point24Application.h"
#include "Point24Document.h"
#ifdef EKA2
#include <eikstart.h>
#endif
/**
* @brief Returns the application's UID (override from CApaApplication::AppDllUid())
* @return UID for this application (KUidPoint24Application)
*/
TUid CPoint24Application::AppDllUid() const
{
return KUidPoint24Application;
}
/**
* @brief Creates the application's document (override from CApaApplication::CreateDocumentL())
* @return Pointer to the created document object (CPoint24Document)
*/
CApaDocument* CPoint24Application::CreateDocumentL()
{
return CPoint24Document::NewL( *this );
}
/**
* @brief Called by the application framework to construct the application object
* @return The application (CPoint24Application)
*/
LOCAL_C CApaApplication* NewApplication()
{
return new CPoint24Application;
}
/**
* @brief This standard export is the entry point for all Series 60 applications
* @return error code
*/
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?