securitydialogs/simlockui/src/SimLockUIApplication.cpp
changeset 1 d5423fbb4f29
child 5 3b17fc5c9564
equal deleted inserted replaced
0:164170e6151a 1:d5423fbb4f29
       
     1 /*
       
     2 * ============================================================================
       
     3 *  Name        : SimLockUIApplication.cpp
       
     4 *  Part of     : Sim Lock UI Application
       
     5 *  Description : Implementation of Sim Lock UI Application UI Methods
       
     6 *  Version     : 
       
     7 *  
       
     8 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     9 * All rights reserved.
       
    10 * This component and the accompanying materials are made available
       
    11 * under the terms of "Eclipse Public License v1.0"
       
    12 * which accompanies this distribution, and is available
       
    13 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    14 *
       
    15 * Initial Contributors:
       
    16 * Nokia Corporation - initial contribution.
       
    17 *
       
    18 * Contributors:
       
    19 *
       
    20 * Description:   Build info file for Ado domain appinstall 
       
    21 * ============================================================================
       
    22 */
       
    23 
       
    24 // User include files
       
    25 #include "SimLockUIDocument.h"
       
    26 #include "SimLockUIApplication.h"
       
    27 #include "SimLockUI.hrh"
       
    28 
       
    29 // UID for the application, this should correspond to the uid defined in the mmp file
       
    30 static const TUid KUidSimLockUIApp = {SIMLOCK_UI_UID3};
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // CSimLockUIApplication::CreateDocumentL
       
    34 // ---------------------------------------------------------------------------
       
    35 CApaDocument* CSimLockUIApplication::CreateDocumentL()
       
    36     {  
       
    37     // Create an SimLockUI document, and return a pointer to it
       
    38     CApaDocument* document = CSimLockUIDocument::NewL( *this );
       
    39     return document;
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // CSimLockUIApplication::AppDllUid
       
    44 // ---------------------------------------------------------------------------
       
    45 TUid CSimLockUIApplication::AppDllUid() const
       
    46     {
       
    47     // Return the UID for the SimLockUI application
       
    48     return KUidSimLockUIApp;
       
    49     }
       
    50 
       
    51 // End of file
       
    52