loadgen/ui/avkon/src/loadgen_app.cpp
branchRCL_3
changeset 22 fad26422216a
parent 21 b3cee849fa46
child 23 f8280f3bfeb7
equal deleted inserted replaced
21:b3cee849fa46 22:fad26422216a
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "loadgen_app.h"
       
    21 #include "loadgen_document.h"
       
    22 
       
    23 #include <eikstart.h>
       
    24 
       
    25 
       
    26 // ================= MEMBER FUNCTIONS =======================
       
    27 
       
    28 // ---------------------------------------------------------
       
    29 // CLoadGenApp::AppDllUid()
       
    30 // Returns application UID
       
    31 // ---------------------------------------------------------
       
    32 //
       
    33 TUid CLoadGenApp::AppDllUid() const
       
    34     {
       
    35     return KUidLoadGen;
       
    36     }
       
    37 
       
    38 // ---------------------------------------------------------
       
    39 // CDictionaryStore* CLoadGenApp::OpenIniFileLC(RFs& aFs) const
       
    40 // overrides CAknApplication::OpenIniFileLC to enable INI file support
       
    41 // ---------------------------------------------------------
       
    42 //
       
    43 CDictionaryStore* CLoadGenApp::OpenIniFileLC(RFs& aFs) const
       
    44     {
       
    45     return CEikApplication::OpenIniFileLC(aFs);
       
    46     }
       
    47    
       
    48 // ---------------------------------------------------------
       
    49 // CLoadGenApp::CreateDocumentL()
       
    50 // Creates CLoadGenDocument object
       
    51 // ---------------------------------------------------------
       
    52 //
       
    53 CApaDocument* CLoadGenApp::CreateDocumentL()
       
    54     {
       
    55     return CLoadGenDocument::NewL( *this );
       
    56     }
       
    57 
       
    58 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    59 
       
    60 LOCAL_C CApaApplication* NewApplication()
       
    61     {
       
    62     return new CLoadGenApp;
       
    63     }
       
    64 
       
    65 
       
    66 GLDEF_C TInt E32Main()
       
    67     {
       
    68     return EikStart::RunApplication(NewApplication);
       
    69     }
       
    70    
       
    71 
       
    72 // End of File  
       
    73