textinput/peninputhwrtrui/src/truiapplication.cpp
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2007 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:  Implement of class CTruiApplication
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <eikapp.h>
       
    20 
       
    21 #include "truidocument.h"
       
    22 #include "truiapplication.h"
       
    23 
       
    24 // ======== MEMBER FUNCTIONS ========
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // To create document
       
    28 // ---------------------------------------------------------------------------
       
    29 //
       
    30 CApaDocument* CTruiApplication::CreateDocumentL()
       
    31     {  
       
    32     // Create an trui document, and return a pointer to it    
       
    33     CApaDocument* document = new (ELeave) CTruiDocument( *this );
       
    34     return document;
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Get Uid of AppDll
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 TUid CTruiApplication::AppDllUid() const
       
    42     {
       
    43     // Return the UID for the trui application
       
    44     return KUidtruiApp;
       
    45     }
       
    46     
       
    47 // ---------------------------------------------------------------------------
       
    48 // Opens the .ini file associated with the application.
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 CDictionaryStore* CTruiApplication::OpenIniFileLC( RFs& aFs ) const
       
    52     {
       
    53     return CEikApplication::OpenIniFileLC( aFs );
       
    54     }