aknexnoteapp.cpp
来自「symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝」· C++ 代码 · 共 70 行
CPP
70 行
/*
* ==============================================================================
* Name : aknexnoteapp.cpp
* Part of : Note example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include <eikstart.h>
#include "AknExNoteApp.h"
#include "AknExNoteDocument.h"
// ========================= MEMBER FUNCTIONS ==================================
// -----------------------------------------------------------------------------
// CAknExNoteApp::CreateDocumentL()
// Creates CAknExNoteDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CAknExNoteApp::CreateDocumentL()
{
return CAknExNoteDocument::NewL( *this );
}
// ----------------------------------------------------------------------------
// TUid CAknExNoteApp::AppDllUid()
// Returns application UID
// ----------------------------------------------------------------------------
//
TUid CAknExNoteApp::AppDllUid() const
{
return KUidAknExNote;
}
// ========================== OTHER EXPORTED FUNCTIONS =========================
// -----------------------------------------------------------------------------
// NewApplication()
// Constructs CAknExNoteApplication.
// Create an application, and return a pointer to it
// -----------------------------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CAknExNoteApp;
}
// ----------------------------------------------------------------------------
// TInt E32Main()
// Entry point function for EPOC Apps.
// Returns: TInt: Error if starting the app through framework wasn't succesful
// ----------------------------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?