ccontapp.cpp
来自「在symbian2.0平台上开发的通信录」· C++ 代码 · 共 56 行
CPP
56 行
/* Copyright (c) 2003, Nokia. All rights reserved */
// INCLUDE FILES
#include "CContApp.h"
#include "CContDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CContApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CContApp::AppDllUid() const
{
return KUidContacts;
}
// ---------------------------------------------------------
// CContApp::CreateDocumentL()
// Creates CCContDocument object
// ---------------------------------------------------------
//
CApaDocument* CContApp::CreateDocumentL()
{
return CContDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CCContApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CContApp;
}
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?