textinput/peninputhwrtrui/inc/truidocument.h
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:  Declares document for TrainingUI
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_TRUIDOCUMENT_H
       
    20 #define C_TRUIDOCUMENT_H
       
    21 
       
    22 #include <AknDoc.h>
       
    23 
       
    24 // Forward references
       
    25 class CTruiAppUi;
       
    26 class CAknApplication;
       
    27 
       
    28 /**
       
    29  *  Instance of class CTruiDocument is the Document part of the AVKON
       
    30  *  application framework for the TrainingUI application
       
    31  *
       
    32  *  @code
       
    33  *   CApaDocument* document = new (ELeave) CTruiDocument(*this);
       
    34  *  @endcode
       
    35  *
       
    36  *  @lib avkon.lib eikcore.lib eiksrv.lib
       
    37  */
       
    38 class CTruiDocument : public CAknDocument
       
    39     {
       
    40 public:
       
    41     /**
       
    42      * Perform the first phase of two phase construction
       
    43      *
       
    44      * @param aApp application creating this document
       
    45      */
       
    46     CTruiDocument( CAknApplication& aApp );
       
    47     
       
    48     /**
       
    49      * Destroy the object and release all memory objects
       
    50      */
       
    51     ~CTruiDocument();
       
    52 
       
    53 
       
    54     /**
       
    55      * Create a CTruiAppUi object and return a pointer to it
       
    56      *
       
    57      * @return a pointer to the created instance of the AppUi created
       
    58      */
       
    59     CEikAppUi* CreateAppUiL();
       
    60 
       
    61     };
       
    62 
       
    63 #endif // C_TRUIDOCUMENT_H
       
    64