examples/sfexamples/Wikipedia/src/SqlSrvDemoDocument.cpp

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 
00018 
00019 // INCLUDE FILES
00020 #include "SqlSrvDemoAppUi.h"
00021 #include "SqlSrvDemoDocument.h"
00022 
00023 
00024 // ========================= MEMBER FUNCTIONS ==================================
00025 
00026 
00027 // -----------------------------------------------------------------------------
00028 // CSqlSrvDemoDocument::CSqlSrvDemoDocument()
00029 // C++ default constructor can NOT contain any code, that might leave.
00030 // -----------------------------------------------------------------------------
00031 //
00032 CSqlSrvDemoDocument::CSqlSrvDemoDocument( CEikApplication& aApp ) :
00033                                           CAknDocument( aApp )
00034     {
00035     // No implementation required
00036     }
00037 
00038 // -----------------------------------------------------------------------------
00039 // CSqlSrvDemoDocument::NewL()
00040 // Two-phased constructor.
00041 // -----------------------------------------------------------------------------
00042 //
00043 CSqlSrvDemoDocument* CSqlSrvDemoDocument::NewL( CEikApplication& aApp )
00044     {
00045     CSqlSrvDemoDocument* self = NewLC( aApp );
00046     CleanupStack::Pop( self );
00047     return self;
00048     }
00049 
00050 
00051 // -----------------------------------------------------------------------------
00052 // CSqlSrvDemoDocument::NewLC()
00053 // Two-phased constructor.
00054 // -----------------------------------------------------------------------------
00055 //
00056 CSqlSrvDemoDocument* CSqlSrvDemoDocument::NewLC( CEikApplication& aApp )
00057     {
00058     CSqlSrvDemoDocument* self = new ( ELeave ) CSqlSrvDemoDocument( aApp );
00059     CleanupStack::PushL( self );
00060     self->ConstructL();
00061     return self;
00062     }
00063 
00064 // -----------------------------------------------------------------------------
00065 // CSqlSrvDemoDocument::ConstructL()
00066 // Symbian 2nd phase constructor can leave.
00067 // -----------------------------------------------------------------------------
00068 //
00069 void CSqlSrvDemoDocument::ConstructL()
00070     {
00071     // No implementation required
00072     }
00073 
00074 // -----------------------------------------------------------------------------
00075 // CSqlSrvDemoDocument::~CSqlSrvDemoDocument()
00076 // Destructor.
00077 // -----------------------------------------------------------------------------
00078 //
00079 CSqlSrvDemoDocument::~CSqlSrvDemoDocument()
00080     {
00081     // No implementation required
00082     }
00083 
00084 // -----------------------------------------------------------------------------
00085 // CSqlSrvDemoDocument::CreateAppUiL()
00086 // Create the application user interface, and return a pointer to it
00087 // -----------------------------------------------------------------------------
00088 //
00089 CEikAppUi* CSqlSrvDemoDocument::CreateAppUiL()
00090     {
00091     return( static_cast<CEikAppUi*>( new ( ELeave ) CSqlSrvDemoAppUi ) );
00092     }
00093 
00094 // End of File

Generated by  doxygen 1.6.2