phoneuis/easydialing/tsrc/edta/src/edta_application.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:50:26 +0200
branchRCL_3
changeset 3 8871b09be73b
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* 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:  Easy dialing test application.
*
*/

// INCLUDE FILES
#include "edta_document.h"
#include "edta_application.h"

// ============================ MEMBER FUNCTIONS ===============================

// UID for the application.
// this should correspond to the uid defined in the mmp file
const TUid KUidEdtaApp = { 0x2000FDDC };

// -----------------------------------------------------------------------------
// CEdtaApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CEdtaApplication::CreateDocumentL()
    {
    // Create an Edta document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CEdtaDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CEdtaApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CEdtaApplication::AppDllUid() const
    {
    // Return the UID for the Edta application
    return KUidEdtaApp;
    }

// End of File