pkiutilities/CertSaver/src/CertSaverApp.cpp
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2003-2007 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:   Implementation of Application class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    "CertSaverApp.h"
       
    21 #include    "CertSaverDocument.h"
       
    22 
       
    23 #include    <eikstart.h>
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CCertSaverApp::AppDllUid()
       
    29 // Returns application UID
       
    30 // ---------------------------------------------------------
       
    31 //
       
    32 TUid CCertSaverApp::AppDllUid() const
       
    33     {
       
    34     return KUidCertSaver;
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------
       
    38 // CCertSaverApp::CreateDocumentL()
       
    39 // Creates CCertSaverDocument object
       
    40 // ---------------------------------------------------------
       
    41 //
       
    42 CApaDocument* CCertSaverApp::CreateDocumentL()
       
    43     {
       
    44     return CCertSaverDocument::NewL( *this );
       
    45     }
       
    46 
       
    47 // ---------------------------------------------------------
       
    48 // NewApplication()
       
    49 // Returns created application object
       
    50 // ---------------------------------------------------------
       
    51 //
       
    52 LOCAL_C CApaApplication* NewApplication()
       
    53     {
       
    54     return new CCertSaverApp;
       
    55     }
       
    56 
       
    57 // ---------------------------------------------------------
       
    58 // E32Main()
       
    59 // Main startup entry point
       
    60 // ---------------------------------------------------------
       
    61 //
       
    62 GLDEF_C TInt E32Main()
       
    63     {
       
    64     return EikStart::RunApplication( NewApplication );
       
    65     }
       
    66 
       
    67 // End of File