filelistdocument.cpp

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

CPP
52
字号
/*
 * Copyright (c) 2009 Nokia Corporation.
 */

// 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 + -
显示快捷键?