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