📄 filelistapp.cpp
字号:
/*
* Copyright (c) 2009 Nokia Corporation.
*/
// INCLUDE FILES
#include "FileListApp.h"
#include "FileListDocument.h"
#include <eikstart.h>
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CFileListApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CFileListApp::AppDllUid() const
{
return KUidFileList;
}
// ---------------------------------------------------------
// CFileListApp::CreateDocumentL()
// Creates CFileListDocument object
// ---------------------------------------------------------
//
CApaDocument* CFileListApp::CreateDocumentL()
{
return CFileListDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CFileListApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CFileListApp;
}
// ---------------------------------------------------------
// E32Main()
// Entry point function for new (>= 9.0) EPOC Apps (exe)
// Returns: Sistem Wide error codes or KErrNone if all goes well
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -