aknexlistapp.cpp
来自「Symbian手机编程」· C++ 代码 · 共 64 行
CPP
64 行
/*
* =============================================================================
* Name : CAknExListApplication
* Part of : AknExList
* Copyright (c) 2003 Nokia. All rights reserved.
* =============================================================================
*/
// INCLUDE FILES
#include "AknExListApp.h"
#include "AknExListDocument.h"
// FUNCTION PROTOTYPES
EXPORT_C CApaApplication* NewApplication();
GLDEF_C TInt E32Dll( TDllReason );
// ================= MEMBER FUNCTIONS =========================================
// ----------------------------------------------------------------------------
// TUid CAknExListApp::AppDllUid()
// Returns application UID.
// ----------------------------------------------------------------------------
//
TUid CAknExListApp::AppDllUid() const
{
return KUidAknExList;
}
// ----------------------------------------------------------------------------
// CApaDocument* CAknExListApp::CreateDocumentL()
// Creates CAknExListDocument object.
// ----------------------------------------------------------------------------
//
CApaDocument* CAknExListApp::CreateDocumentL()
{
return CAknExListDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS =================================
//
// ----------------------------------------------------------------------------
// NewApplication()
// Constructs CAknExListApp.
// Returns: CApaDocument*: created application object
// ----------------------------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CAknExListApp;
}
// ----------------------------------------------------------------------------
// 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 + -
显示快捷键?