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

Generated by  doxygen 1.6.2