iaupdate/IAD/launcher/src/iaupdatelauncherapplication.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 24 5cc91383ab1e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     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:   IAUpdate client launcher.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "iaupdatelauncherdocument.h"
       
    23 #include "iaupdatelauncherapplication.h"
       
    24 #include "iaupdatelauncheruids.h"
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 
       
    28 // UID for the application;
       
    29 // this should correspond to the uid defined in the mmp file
       
    30 static const TUid KUidIaupdateLauncherApp = { KIAUpdateLauncherUid };
       
    31 
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // CIAUpdateLauncherApplication::CreateDocumentL()
       
    35 // Creates CApaDocument object
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 CApaDocument* CIAUpdateLauncherApplication::CreateDocumentL()
       
    39     {
       
    40     // Create an Launcher document, and return a pointer to it
       
    41     return (static_cast<CApaDocument*>
       
    42                     ( CIAUpdateLauncherDocument::NewL( *this ) ) );
       
    43     }
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CIAUpdateLauncherApplication::AppDllUid()
       
    47 // Returns application UID
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 TUid CIAUpdateLauncherApplication::AppDllUid() const
       
    51     {
       
    52     // Return the UID for the Launcher application
       
    53     return KUidIaupdateLauncherApp;
       
    54     }
       
    55 
       
    56 // End of File
       
    57