textinput/peninputarc/inc/pensrvcliinc/peninputserverdocument.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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:  Defination for peninput server application document
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PENINPUTSERVERDOCUMENT_H
       
    20 #define PENINPUTSERVERDOCUMENT_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknDoc.h>
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class  CEikAppUi;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  CPeninputServerDocument application class.
       
    34 */
       
    35 class CPeninputServerDocument : public CAknDocument
       
    36     {
       
    37 public: // Constructors and destructor
       
    38     /**
       
    39     * Two-phased constructor.
       
    40     *
       
    41     * @since S60 v4.0        
       
    42     * @param aApp The application
       
    43     * @return The created document
       
    44     */
       
    45     static CPeninputServerDocument* NewL(CEikApplication& aApp);
       
    46 
       
    47     /**
       
    48     * Destructor.
       
    49     *
       
    50     * @since S60 v4.0     
       
    51     */
       
    52     virtual ~CPeninputServerDocument();
       
    53 
       
    54 private:
       
    55 
       
    56     /**
       
    57     * Default constructor.
       
    58     *
       
    59     * @since S60 v4.0     
       
    60     * @param aApp The application
       
    61     */
       
    62     CPeninputServerDocument(CEikApplication& aApp);
       
    63     
       
    64     /**
       
    65     * 2nd phrase constructor
       
    66     *
       
    67     * @since S60 v4.0     
       
    68     */    
       
    69     void ConstructL();
       
    70 
       
    71 private:
       
    72     //from base class CAknDocument
       
    73     /**
       
    74     * From CAknDocument
       
    75     * Create CPeninputServerAppUi "App UI" object.
       
    76     *
       
    77     * @since S60 v4.0     
       
    78     * @return The created application UI    
       
    79     */
       
    80     CEikAppUi* CreateAppUiL();
       
    81     };
       
    82 
       
    83 #endif
       
    84 
       
    85 // End of File
       
    86