exampleapps/alfexstickers/src/alfexstickersdocument.cpp
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008 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:   
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "AlfExStickersAppUi.h"
       
    20 #include "AlfExStickersDocument.h"
       
    21 
       
    22 // Standard Symbian OS construction sequence
       
    23 CAlfExStickersDocument* CAlfExStickersDocument::NewL(CEikApplication& aApp)
       
    24     {
       
    25     CAlfExStickersDocument* self = NewLC(aApp);
       
    26     CleanupStack::Pop(self);
       
    27     return self;
       
    28     }
       
    29 
       
    30 
       
    31 CAlfExStickersDocument* CAlfExStickersDocument::NewLC(CEikApplication& aApp)
       
    32     {
       
    33     CAlfExStickersDocument* self = new (ELeave) CAlfExStickersDocument(aApp);
       
    34     CleanupStack::PushL(self);
       
    35     self->ConstructL();
       
    36     return self;
       
    37     }
       
    38 
       
    39 
       
    40 CAlfExStickersDocument::CAlfExStickersDocument(CEikApplication& aApp) : CAknDocument(aApp) 
       
    41     {
       
    42 	// no implementation required
       
    43     }
       
    44 
       
    45 
       
    46 void CAlfExStickersDocument::ConstructL()
       
    47     {
       
    48 	// no implementation required
       
    49     }    
       
    50 
       
    51 
       
    52 CAlfExStickersDocument::~CAlfExStickersDocument()
       
    53     {
       
    54 	// no implementation required
       
    55     }
       
    56 
       
    57 
       
    58 CEikAppUi* CAlfExStickersDocument::CreateAppUiL()
       
    59     {
       
    60     // Create the application user interface, and return a pointer to it,
       
    61     // the framework takes ownership of this object
       
    62     CEikAppUi* appUi = new (ELeave) CAlfExStickersAppUi;
       
    63     return appUi;
       
    64     }
       
    65