filelistdocument.cpp

来自「基于SYMBIAN 列表的开发,很不错,欢迎下载学习!!!支持一下本站」· C++ 代码 · 共 59 行

CPP
59
字号
/*
 * ============================================================================
 *  Name       : CFileListDocument from FileListDocument.cpp
 *  Part of    : FileList
 *  Created    : 04/11/2006 by Forum Nokia
 *  Description:
 *    Implementation of the document for the application.
 *  Version    : 2.1.0
 * ============================================================================
 */

// INCLUDE FILES
#include "FileListDocument.h"
#include "FileListAppUi.h"

// ================= MEMBER FUNCTIONS =======================

// constructor
CFileListDocument::CFileListDocument(CEikApplication& aApp)
: CAknDocument(aApp)
    {
    }

// destructor
CFileListDocument::~CFileListDocument()
    {
    }

// Symbian default constructor can leave.
void CFileListDocument::ConstructL()
    {
    }

// Two-phased constructor.
CFileListDocument* CFileListDocument::NewL(
        CEikApplication& aApp)     // CFileListApp reference
    {
    CFileListDocument* self = new (ELeave) CFileListDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop( self );

    return self;
    }



// ----------------------------------------------------
// CFileListDocument::CreateAppUiL()
// constructs CFileListAppUi
// ----------------------------------------------------
//
CEikAppUi* CFileListDocument::CreateAppUiL()
    {
    return new (ELeave) CFileListAppUi;
    }

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?