textinput/peninputarc/gsplugin/peninputsetting/src/peninputsettingDocument.cpp
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:  implement of class cpeninputsettingdocument
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "peninputsettingAppui.h"
       
    20 #include "peninputsettingDocument.h"
       
    21 
       
    22 // ======== MEMBER FUNCTIONS ======== 
       
    23 
       
    24 // ---------------------------------------------------------------------------
       
    25 // Standard Symbian OS construction
       
    26 // ---------------------------------------------------------------------------
       
    27 //
       
    28 CPenInputSettingDocument* CPenInputSettingDocument::NewL(CEikApplication& aApp)
       
    29     {
       
    30     CPenInputSettingDocument* self = NewLC(aApp);
       
    31     CleanupStack::Pop(self);
       
    32     return self;
       
    33     }
       
    34     
       
    35 // ---------------------------------------------------------------------------
       
    36 // Standard Symbian OS construction
       
    37 // ---------------------------------------------------------------------------
       
    38 //
       
    39 CPenInputSettingDocument* CPenInputSettingDocument::NewLC(CEikApplication& aApp)
       
    40     {
       
    41     CPenInputSettingDocument* self = new (ELeave) CPenInputSettingDocument(aApp);
       
    42     CleanupStack::PushL(self);
       
    43     self->ConstructL();
       
    44     return self;
       
    45     }
       
    46     
       
    47 // ---------------------------------------------------------------------------
       
    48 // ConstructL is called by the application framework
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 void CPenInputSettingDocument::ConstructL()
       
    52     {
       
    53 	// no implementation required
       
    54     }    
       
    55 
       
    56 // ---------------------------------------------------------------------------
       
    57 // ConstructL is called by the application framework
       
    58 // ---------------------------------------------------------------------------
       
    59 //
       
    60 CPenInputSettingDocument::CPenInputSettingDocument(CEikApplication& aApp) : CAknDocument(aApp) 
       
    61     {
       
    62 	// no implementation required
       
    63     }
       
    64 
       
    65 // ---------------------------------------------------------
       
    66 // Destructor
       
    67 // ---------------------------------------------------------
       
    68 //
       
    69 CPenInputSettingDocument::~CPenInputSettingDocument()
       
    70     {
       
    71 	// no implementation required
       
    72     }
       
    73 
       
    74 // ---------------------------------------------------------------------------
       
    75 // Create the application user interface, and return a pointer to it,
       
    76 // the framework takes ownership of this object
       
    77 // ---------------------------------------------------------------------------
       
    78 //
       
    79 CEikAppUi* CPenInputSettingDocument::CreateAppUiL()
       
    80     {
       
    81     // Create the application user interface, and return a pointer to it,
       
    82     // the framework takes ownership of this object
       
    83     CEikAppUi* appUi = new (ELeave) CPenInputSettingAppUi;
       
    84     return appUi;
       
    85     }
       
    86