S60 3rd Edition SDK for Symbian OS
Example Applications Guide

FilelistDocument.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : FilelistDocument.cpp
00004 *  Part of     : Filelist
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 // INCLUDE FILES
00017 #include "FilelistDocument.h"
00018 #include "FilelistAppui.h"
00019 
00020 // ================= MEMBER FUNCTIONS ==========================================
00021 
00022 // -----------------------------------------------------------------------------
00023 // CFilelistDocument::CFilelistDocument()
00024 // constructor
00025 // -----------------------------------------------------------------------------
00026 //
00027 CFilelistDocument::CFilelistDocument( CEikApplication& aApp )
00028     : CAknDocument( aApp )    
00029     {
00030     // no implementation required 
00031     }
00032 
00033 // -----------------------------------------------------------------------------
00034 // CFilelistDocument::~CFilelistContainer()
00035 // Destructor
00036 // -----------------------------------------------------------------------------
00037 //
00038 CFilelistDocument::~CFilelistDocument()
00039     {
00040     // no implementation required 
00041     }
00042 
00043 // -----------------------------------------------------------------------------
00044 // CFilelistDocument::ConstructL()
00045 // Symbian two phased constructor
00046 // -----------------------------------------------------------------------------
00047 //
00048 void CFilelistDocument::ConstructL()
00049     {
00050     // no implementation required 
00051     }
00052 
00053 // -----------------------------------------------------------------------------
00054 // CFilelistDocument::NewL()
00055 // Two-phased constructor.
00056 // -----------------------------------------------------------------------------
00057 //
00058 CFilelistDocument* CFilelistDocument::NewL(
00059         CEikApplication& aApp )     // CFilelistApp reference
00060     {
00061     CFilelistDocument* self = new (ELeave) CFilelistDocument( aApp );
00062     CleanupStack::PushL( self );
00063     self->ConstructL();
00064     CleanupStack::Pop( self );
00065 
00066     return self;
00067     }
00068     
00069 // -----------------------------------------------------------------------------
00070 // CFilelistDocument::CreateAppUiL()
00071 // constructs CFilelistAppUi
00072 // -----------------------------------------------------------------------------
00073 //
00074 CEikAppUi* CFilelistDocument::CreateAppUiL()
00075     {
00076     return new (ELeave) CFilelistAppUi;
00077     }
00078 
00079 // End of File  

© Nokia 2006

Back to top