📄 noughtsandcrossesapp.cpp
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */
// INCLUDE FILES
#include <eikenv.h>
#include "noughtsandcrossesapp.h"
#include "noughtsandcrossesdocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidNac = { 0x06F18BAE };
// -----------------------------------------------------------------------------
// CNoughtsAndCrossesApp::OpenIniFileLC(RFs& aFs)
// Returns the .ini file associated with the application.
// -----------------------------------------------------------------------------
//
CDictionaryStore* CNoughtsAndCrossesApp::OpenIniFileLC(RFs& aFs) const
{
return CEikApplication::OpenIniFileLC(aFs);
}
// -----------------------------------------------------------------------------
// CNoughtsAndCrossesApp::AppDllUid()
// Returns application UID.
// -----------------------------------------------------------------------------
//
TUid CNoughtsAndCrossesApp::AppDllUid() const
{
return KUidNac;
}
// -----------------------------------------------------------------------------
// CNoughtsAndCrossesApp::CreateDocumentL()
// Creates CApaDocument object.
// -----------------------------------------------------------------------------
//
CApaDocument* CNoughtsAndCrossesApp::CreateDocumentL()
{
return CNoughtsAndCrossesDocument::NewL (*this);
}
// ========================== OTHER EXPORTED FUNCTIONS =========================
// -----------------------------------------------------------------------------
// NewApplication()
// Constructs CNoughtsAndCrossesApp.
// -----------------------------------------------------------------------------
//
// Create an application, and return a pointer to it
EXPORT_C CApaApplication* NewApplication()
{
return new CNoughtsAndCrossesApp;
}
// -----------------------------------------------------------------------------
// E32Dll()
// Entry point function for Symbian Apps.
// -----------------------------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
// DLL entry point, return that everything is ok
return KErrNone;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -