diff -r 5456b4e8b3a8 -r 3321d3e205b6 idlehomescreen/examples/mcsexample/src/MCSExampleApplication.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlehomescreen/examples/mcsexample/src/MCSExampleApplication.cpp Tue Sep 14 20:58:58 2010 +0300 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +// INCLUDE FILES +#include "MCSExample.hrh" +#include "MCSExampleDocument.h" +#include "MCSExampleApplication.h" + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// CMCSExampleApplication::CreateDocumentL() +// Creates CApaDocument object +// ----------------------------------------------------------------------------- +// +CApaDocument* CMCSExampleApplication::CreateDocumentL() + { + // Create an MCSExample document, and return a pointer to it + return CMCSExampleDocument::NewL(*this); + } + +// ----------------------------------------------------------------------------- +// CMCSExampleApplication::AppDllUid() +// Returns application UID +// ----------------------------------------------------------------------------- +// +TUid CMCSExampleApplication::AppDllUid() const + { + // Return the UID for the MCSExample application + return KUidMCSExampleApp; + } + +// End of File