voipplugins/voipadapters/voipxmlprovisioning/provisioningappui/Src/VoIPProvisioningApp.cpp
branchRCL_3
changeset 22 d38647835c2e
parent 2 7b872347d83b
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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:  Application implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <eikstart.h>
       
    21 #include "VoIPProvisioningApp.h"
       
    22 #include "VoIPProvisioningDocument.h"
       
    23 
       
    24 // ========================= MEMBER FUNCTIONS ================================
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // CVoIPProvisioningApp::AppDllUid()
       
    28 // Returns application UID
       
    29 // ---------------------------------------------------------------------------
       
    30 
       
    31 TUid CVoIPProvisioningApp::AppDllUid() const
       
    32     {
       
    33     return KUidVoIPProvisioningAppUid;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CVoIPProvisioningApp::CreateDocumentL()
       
    38 // Creates CVoIPProvisioningDocument object
       
    39 // ---------------------------------------------------------------------------
       
    40 
       
    41 CApaDocument* CVoIPProvisioningApp::CreateDocumentL()
       
    42     {
       
    43     return new (ELeave) CVoIPProvisioningDocument( *this );
       
    44     }
       
    45 
       
    46 // ===================== OTHER EXPORTED FUNCTIONS ============================
       
    47 
       
    48 LOCAL_C CApaApplication* NewApplication()
       
    49     {
       
    50     return new CVoIPProvisioningApp;
       
    51     }
       
    52 
       
    53 GLDEF_C TInt E32Main()
       
    54     {
       
    55     return EikStart::RunApplication( NewApplication );
       
    56     }
       
    57 
       
    58 
       
    59 // End of File
       
    60