📄 addressbookapp.cpp
字号:
/*
* ==============================================================================
* Name : AddressBookApp.cpp
* Part of : AddressBook
* Interface :
* Description : An application class, CAddressBookApp
* - starting point of the program
* Version :
*
* Copyright (c) 2002-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDES
#include "AddressBookApp.h"
#include "AddressBookDocument.h"
#include <eikstart.h>
// ================= MEMBER FUNCTIONS =======================
// ----------------------------------------------------------------------------
// CAddressBookApp::CreateDocumentL()
// Creates CAddressBookDocument object and return a pointer to it
// ----------------------------------------------------------------------------
//
CApaDocument* CAddressBookApp::CreateDocumentL()
{
return (static_cast<CApaDocument*>(CAddressBookDocument::NewL(*this)));
}
// ----------------------------------------------------------------------------
// AddressBookApp::AppDllUid()
// Returns application UID
// ----------------------------------------------------------------------------
//
TUid CAddressBookApp::AppDllUid() const
{
return KUidAddressBookApp;
}
// ----------------------------------------------------------------------------
// NewApplication()
// Constructs CAddressBookApp
// Returns: created application object
// ----------------------------------------------------------------------------
//
LOCAL_C CApaApplication* NewApplication()
{
return (static_cast<CApaApplication*>(new CAddressBookApp));
}
// ----------------------------------------------------------------------------
// E32Main
// Executable entry point
// ----------------------------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication(NewApplication);
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -