securitydialogs/lockapp/src/lockappdocument.cpp
branchRCL_3
changeset 22 03674e5abf46
parent 0 164170e6151a
equal deleted inserted replaced
21:09b1ac925e3f 22:03674e5abf46
       
     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:  LockApp application document class
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #include "lockappappui.h"
       
    20 #include "lockappdocument.h"
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // Standard Symbian OS construction sequence
       
    24 // ---------------------------------------------------------------------------
       
    25 CLockAppDocument* CLockAppDocument::NewL(CEikApplication& aApp)
       
    26     {
       
    27     CLockAppDocument* self = NewLC(aApp);
       
    28     CleanupStack::Pop(self);
       
    29     return self;
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // Standard Symbian OS construction sequence
       
    34 // ---------------------------------------------------------------------------
       
    35 CLockAppDocument* CLockAppDocument::NewLC(CEikApplication& aApp)
       
    36     {
       
    37     CLockAppDocument* self = new (ELeave) CLockAppDocument(aApp);
       
    38     CleanupStack::PushL(self);
       
    39     self->ConstructL();
       
    40     return self;
       
    41     }
       
    42 
       
    43 CLockAppDocument::~CLockAppDocument()
       
    44     {
       
    45     // no implementation required
       
    46     }
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 //  Create the application user interface, and return a pointer to it,
       
    50 //  The framework takes ownership of this object.
       
    51 // ---------------------------------------------------------------------------
       
    52 CEikAppUi* CLockAppDocument::CreateAppUiL()
       
    53     {
       
    54     CEikAppUi* appUi = new (ELeave) CLockAppAppUi;
       
    55     return appUi;
       
    56     }
       
    57 
       
    58 void CLockAppDocument::ConstructL()
       
    59     {
       
    60     // no implementation required
       
    61     }
       
    62 
       
    63 CLockAppDocument::CLockAppDocument( CEikApplication& aApp ) :
       
    64 	CAknDocument(aApp)
       
    65 	{
       
    66 	// no implementation required
       
    67 	}