examples/SFExamples/symbian_os_communications_programming_book_v2/chapter9/SendWorkBench/SendWorkbenchS60/src/SendWorkbenchApplication.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 // INCLUDE FILES
00018 #include "SendWorkbenchDocument.h"
00019 #include "SendWorkbenchApplication.h"
00020 
00021 // ============================ MEMBER FUNCTIONS ===============================
00022 
00023 // UID for the application;
00024 // this should correspond to the uid defined in the mmp file
00025 const TUid KUidSendWorkbenchApp = { 0xA0009979 };
00026 
00027 // -----------------------------------------------------------------------------
00028 // CSendWorkbenchApplication::CreateDocumentL()
00029 // Creates CApaDocument object
00030 // -----------------------------------------------------------------------------
00031 //
00032 CApaDocument* CSendWorkbenchApplication::CreateDocumentL()
00033     {
00034     // Create an SendWorkbench document, and return a pointer to it
00035     return (static_cast<CApaDocument*>
00036                     ( CSendWorkbenchDocument::NewL( *this ) ) );
00037     }
00038 
00039 // -----------------------------------------------------------------------------
00040 // CSendWorkbenchApplication::AppDllUid()
00041 // Returns application UID
00042 // -----------------------------------------------------------------------------
00043 //
00044 TUid CSendWorkbenchApplication::AppDllUid() const
00045     {
00046     // Return the UID for the SendWorkbench application
00047     return KUidSendWorkbenchApp;
00048     }
00049 
00050 // End of File

Generated by  doxygen 1.6.2