phoneuis/easydialing/tsrc/edta/src/edta_application.cpp
branchRCL_3
changeset 9 8871b09be73b
equal deleted inserted replaced
4:c84cf270c54f 9:8871b09be73b
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Easy dialing test application.
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include "edta_document.h"
       
    20 #include "edta_application.h"
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 
       
    24 // UID for the application.
       
    25 // this should correspond to the uid defined in the mmp file
       
    26 const TUid KUidEdtaApp = { 0x2000FDDC };
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CEdtaApplication::CreateDocumentL()
       
    30 // Creates CApaDocument object
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 CApaDocument* CEdtaApplication::CreateDocumentL()
       
    34     {
       
    35     // Create an Edta document, and return a pointer to it
       
    36     return (static_cast<CApaDocument*>
       
    37                     ( CEdtaDocument::NewL( *this ) ) );
       
    38     }
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 // CEdtaApplication::AppDllUid()
       
    42 // Returns application UID
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 TUid CEdtaApplication::AppDllUid() const
       
    46     {
       
    47     // Return the UID for the Edta application
       
    48     return KUidEdtaApp;
       
    49     }
       
    50 
       
    51 // End of File
       
    52