idlehomescreen/examples/mcsexample/src/MCSExampleApplication.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 20:58:58 +0300
branchRCL_3
changeset 35 3321d3e205b6
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* 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