📄 aknexeditorapp.cpp
字号:
/*
* ==============================================================================
* Name : aknexeditorapp.cpp
* Part of : Editor 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 "AknExEditorApp.h"
#include "AknExEditorDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CAknExEditorApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CAknExEditorApp::AppDllUid() const
{
return KUidAknExEditor;
}
// ---------------------------------------------------------
// CAknExEditorApp::CreateDocumentL()
// Creates CAknExEditorDocument object
// ---------------------------------------------------------
//
CApaDocument* CAknExEditorApp::CreateDocumentL()
{
return CAknExEditorDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CAknExEditorApp
// Returns: CApaDocument*: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CAknExEditorApp;
}
// ----------------------------------------------------------------------------
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -