Nokia N97 SDK
Example Applications Guide

PickSelectDocument.cpp

00001 /*
00002  * ==============================================================================
00003  *  Name        : PickSelectDocument.cpp
00004  *  Part of     : OpenGLEx / PickSelect
00005  *
00006  *  Copyright (c) 2004-2006 Nokia Corporation.
00007  *  This material, including documentation and any related
00008  *  computer programs, is protected by copyright controlled by
00009  *  Nokia Corporation.
00010  * ==============================================================================
00011  */
00012 
00013 // INCLUDE FILES
00014 #include "PickSelectDocument.h"
00015 #include "PickSelectAppUi.h"
00016 
00017 // ================= MEMBER FUNCTIONS =======================
00018 
00019 // -----------------------------------------------------------------------------
00020 // CPickSelectDocument::CPickSelectDocument
00021 // C++ default constructor can NOT contain any code, that
00022 // might leave.
00023 // -----------------------------------------------------------------------------
00024 //
00025 CPickSelectDocument::CPickSelectDocument(CEikApplication& aApp)
00026 : CAknDocument(aApp)
00027     {
00028     }
00029 
00030 // -----------------------------------------------------------------------------
00031 // CPickSelectDocument::ConstructL
00032 // Symbian 2nd phase constructor can leave.
00033 // -----------------------------------------------------------------------------
00034 //
00035 void CPickSelectDocument::ConstructL()
00036     {
00037     }
00038 
00039 
00040 // -----------------------------------------------------------------------------
00041 // CPickSelectDocument::NewL
00042 // Two-phased constructor.
00043 // -----------------------------------------------------------------------------
00044 //
00045 CPickSelectDocument* CPickSelectDocument::NewL(
00046         CEikApplication& aApp)     // CPickSelectApp reference
00047     {
00048     CPickSelectDocument* self = new (ELeave) CPickSelectDocument( aApp );
00049     CleanupStack::PushL( self );
00050     self->ConstructL();
00051     CleanupStack::Pop();
00052 
00053     return self;
00054     }
00055 
00056 // destructor
00057 CPickSelectDocument::~CPickSelectDocument()
00058     {
00059     }
00060 
00061 // ----------------------------------------------------
00062 // CPickSelectDocument::CreateAppUiL()
00063 // constructs CPickSelectAppUi
00064 // ----------------------------------------------------
00065 //
00066 CEikAppUi* CPickSelectDocument::CreateAppUiL()
00067     {
00068     return new (ELeave) CPickSelectAppUi;
00069     }
00070 
00071 // End of File

© Nokia 2009

Back to top