textinput/peninputarc/gsplugin/peninputsetting/inc/peninputsettingDocument.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     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 PenInputSetting
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_PENINPUTSETTINGDOCUMENT_H
       
    20 #define C_PENINPUTSETTINGDOCUMENT_H
       
    21 
       
    22 
       
    23 #include <AknDoc.h>
       
    24 
       
    25 // Forward references
       
    26 class CPenInputSettingAppUi;
       
    27 class CEikApplication;
       
    28 
       
    29 
       
    30 /**
       
    31 *  CPeninputServerDocument application class.
       
    32 */
       
    33 class CPenInputSettingDocument : public CAknDocument
       
    34     {
       
    35     
       
    36 public:
       
    37 
       
    38     /**
       
    39     * Two-phased constructor.
       
    40     *
       
    41     * @since S60 v4.0        
       
    42     * @param aApp The application
       
    43     * @return The created document
       
    44     */
       
    45     static CPenInputSettingDocument* NewL( CEikApplication& aApp );
       
    46 
       
    47     /**
       
    48     * Two-phased constructor.
       
    49     *
       
    50     * @since S60 v4.0        
       
    51     * @param aApp The application
       
    52     * @return The created document
       
    53     */
       
    54     static CPenInputSettingDocument* NewLC( CEikApplication& aApp );
       
    55 
       
    56     /**
       
    57     * Destructor.
       
    58     *
       
    59     * @since S60 v4.0     
       
    60     */
       
    61     ~CPenInputSettingDocument();
       
    62 
       
    63 public: //from base class CAknDocument
       
    64 
       
    65     /**
       
    66     * From CAknDocument
       
    67     * Create CPeninputServerAppUi "App UI" object.
       
    68     *
       
    69     * @since S60 v4.0     
       
    70     * @return The created application UI    
       
    71     */
       
    72     CEikAppUi* CreateAppUiL();
       
    73 
       
    74 private:
       
    75 
       
    76     /**
       
    77     * Default constructor.
       
    78     *
       
    79     * @since S60 v4.0     
       
    80     * @param aApp The application
       
    81     */
       
    82     void ConstructL();
       
    83 
       
    84     /**
       
    85     * Default constructor.
       
    86     *
       
    87     * @since S60 v4.0     
       
    88     * @param aApp The application
       
    89     */
       
    90     CPenInputSettingDocument( CEikApplication& aApp );
       
    91 
       
    92     };
       
    93 
       
    94 
       
    95 #endif // C_PENINPUTSETTING_DOCUMENT_H