csxhelp/src/CSXHApplication.cpp
changeset 0 1f04cf54edd8
equal deleted inserted replaced
-1:000000000000 0:1f04cf54edd8
       
     1 /*
       
     2 * Copyright (c) 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:  CCSXHApplication class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "CSXHDocument.h"
       
    20 #include "CSXHApplication.h"
       
    21 
       
    22 // UID for the application, this should correspond to the uid defined in the mmp file
       
    23 static const TUid KUidCSXHApp = {0x10005234};
       
    24 
       
    25 CApaDocument* CCSXHApplication::CreateDocumentL()
       
    26     {  
       
    27     // Create an CSXH document, and return a pointer to it
       
    28     CApaDocument* document = CCSXHDocument::NewL(*this);
       
    29     return document;
       
    30     }
       
    31 
       
    32 TUid CCSXHApplication::AppDllUid() const
       
    33     {
       
    34     // Return the UID for the CSXH application
       
    35     return KUidCSXHApp;
       
    36     }
       
    37