filelistapp.cpp

来自「一个简单的资源管理器」· C++ 代码 · 共 60 行

CPP
60
字号
/*
 * 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 + =
减小字号Ctrl + -
显示快捷键?