psln/Src/PslnDocument.cpp
changeset 37 89c890c70182
parent 34 6b5204869ed5
child 45 667edd0b8678
equal deleted inserted replaced
34:6b5204869ed5 37:89c890c70182
     1 /*
       
     2 * Copyright (c) 2002-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:  Document class for psln.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "PslnDocument.h"
       
    20 #include "PslnUi.h"
       
    21 
       
    22 // ======== MEMBER FUNCTIONS ========
       
    23 
       
    24 // ---------------------------------------------------------------------------
       
    25 // Symbian constructor.
       
    26 // ---------------------------------------------------------------------------
       
    27 //
       
    28 CPslnDocument* CPslnDocument::NewL( CEikApplication& aApp )
       
    29     {
       
    30     CPslnDocument* self = new(ELeave) CPslnDocument( aApp );
       
    31     return self;
       
    32     }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 // Destructor.
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 CPslnDocument::~CPslnDocument()
       
    39     {
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // C++ constructor.
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 CPslnDocument::CPslnDocument( CEikApplication& aApp ) : CAknDocument( aApp ) 
       
    47     {
       
    48     }
       
    49 
       
    50 // ---------------------------------------------------------------------------
       
    51 // From CEikDocument.
       
    52 // Create an CPslnAppUi instance and return it.
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 CEikAppUi* CPslnDocument::CreateAppUiL()
       
    56     {
       
    57     return new (ELeave) CPslnUi;
       
    58     }
       
    59 
       
    60 //  End of File