stopwatchapp.cpp
来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· C++ 代码 · 共 67 行
CPP
67 行
/* ============================================================================
* Name : CStopwatchApp from StopwatchApp.cpp
* Part of : Stopwatch
* Created : 05.02.2006 by ToBeReplacedByAuthor
*
* Implementation notes:
*
* Initial content was generated by Series 60 Application Wizard.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
// INCLUDE FILES
#include "StopwatchApp.h"
#include "StopwatchDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CStopwatchApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CStopwatchApp::AppDllUid() const
{
return KUidStopwatch;
}
// ---------------------------------------------------------
// CStopwatchApp::CreateDocumentL()
// Creates CStopwatchDocument object
// ---------------------------------------------------------
//
CApaDocument* CStopwatchApp::CreateDocumentL()
{
return CStopwatchDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CStopwatchApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CStopwatchApp;
}
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?