aknexeditorapp.cpp
来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C++ 代码 · 共 60 行
CPP
60 行
/* Copyright (c) 2004, Nokia. All rights reserved */
// 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;
}
// ---------------------------------------------------------
// E32Dll( TDllReason )
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
/*GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}*/
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?