www.pudn.com > FileList_v1_0.zip > FileListDocument.cpp


/* 
* ============================================================================ 
*  Name     : CFileListDocument from FileListDocument.h 
*  Part of  : FileList 
*  Created  : 18.12.2002 by Forum Nokia 
*  Implementation notes: 
*     Initial content was generated by Nokia Series 60 AppWizard. 
*  Version  : 1.0 
*  Copyright: 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(); 
 
    return self; 
    } 
 
 
     
// ---------------------------------------------------- 
// CFileListDocument::CreateAppUiL() 
// constructs CFileListAppUi 
// ---------------------------------------------------- 
// 
CEikAppUi* CFileListDocument::CreateAppUiL() 
    { 
    return new (ELeave) CFileListAppUi; 
    } 
 
// End of File