exampleapps/alfexcalendar/src/alfexcalendarapplication.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 "alfexcalendardocument.h"
       
    21 #include "alfexcalendarapplication.h"
       
    22 
       
    23 // UID for the application, this should correspond to the uid defined in the mmp file
       
    24 static const TUid KUidAlfExCalendarApp = {0x0FCD4AC7};
       
    25 
       
    26 CApaDocument* CAlfExCalendarApplication::CreateDocumentL()
       
    27     {  
       
    28     // Create an AlfExCalendar document, and return a pointer to it
       
    29     CApaDocument* document = CAlfExCalendarDocument::NewL(*this);
       
    30     return document;
       
    31     }
       
    32 
       
    33 TUid CAlfExCalendarApplication::AppDllUid() const
       
    34     {
       
    35     // Return the UID for the AlfExCalendar application
       
    36     return KUidAlfExCalendarApp;
       
    37     }
       
    38