examples/Graphics/coverflow/src/coverflowappdocument.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : CoverflowAppdocument.cpp
00004 *  Part of     : CoverflowApp
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 "CoverflowAppUi.h"
00018 #include "CoverflowAppDocument.h"
00019 
00020 // ============================ MEMBER FUNCTIONS ===============================
00021 
00022 // -----------------------------------------------------------------------------
00023 // CCoverflowAppDocument::NewL()
00024 // Two-phased constructor.
00025 // -----------------------------------------------------------------------------
00026 //
00027 CCoverflowAppDocument* CCoverflowAppDocument::NewL( CEikApplication&
00028                                                           aApp )
00029     {
00030     CCoverflowAppDocument* self = NewLC( aApp );
00031     CleanupStack::Pop( self );
00032     return self;
00033     }
00034 
00035 // -----------------------------------------------------------------------------
00036 // CCoverflowAppDocument::NewLC()
00037 // Two-phased constructor.
00038 // -----------------------------------------------------------------------------
00039 //
00040 CCoverflowAppDocument* CCoverflowAppDocument::NewLC( CEikApplication&
00041                                                            aApp )
00042     {
00043     CCoverflowAppDocument* self =
00044         new ( ELeave ) CCoverflowAppDocument( aApp );
00045 
00046     CleanupStack::PushL( self );
00047     self->ConstructL();
00048     return self;
00049     }
00050 
00051 // -----------------------------------------------------------------------------
00052 // CCoverflowAppDocument::ConstructL()
00053 // Symbian 2nd phase constructor can leave.
00054 // -----------------------------------------------------------------------------
00055 //
00056 void CCoverflowAppDocument::ConstructL()
00057     {
00058     // No implementation required
00059     }
00060 
00061 // -----------------------------------------------------------------------------
00062 // CCoverflowAppDocument::CCoverflowAppDocument()
00063 // C++ default constructor can NOT contain any code, that might leave.
00064 // -----------------------------------------------------------------------------
00065 //
00066 CCoverflowAppDocument::CCoverflowAppDocument( CEikApplication& aApp )
00067     : CAknDocument( aApp )
00068     {
00069     // No implementation required
00070     }
00071 
00072 // ---------------------------------------------------------------------------
00073 // CCoverflowAppDocument::~CCoverflowAppDocument()
00074 // Destructor.
00075 // ---------------------------------------------------------------------------
00076 //
00077 CCoverflowAppDocument::~CCoverflowAppDocument()
00078     {
00079     // No implementation required
00080     }
00081 
00082 // ---------------------------------------------------------------------------
00083 // CCoverflowAppDocument::CreateAppUiL()
00084 // Constructs CreateAppUi.
00085 // ---------------------------------------------------------------------------
00086 //
00087 CEikAppUi* CCoverflowAppDocument::CreateAppUiL()
00088     {
00089     // Create the application user interface, and return a pointer to it;
00090     // the framework takes ownership of this object
00091     return ( static_cast <CEikAppUi*> ( new ( ELeave )
00092                                         CCoverflowAppUi ) );
00093     }
00094 
00095 // End of File
00096 

Generated by  doxygen 1.6.2