srsf/vcexecutorapp/src/vcexecutorapp.cpp
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2006 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 class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <e32std.h>
       
    21 #include <eikstart.h>
       
    22 #include "vcexecutorapp.h"
       
    23 #include "vcexecutorappdocument.h"
       
    24 
       
    25 
       
    26 // ================= MEMBER FUNCTIONS =======================
       
    27 
       
    28 // ---------------------------------------------------------
       
    29 // CVCExecutorApp::AppDllUid
       
    30 // Returns application UID
       
    31 // ---------------------------------------------------------
       
    32 //
       
    33 TUid CVCExecutorApp::AppDllUid() const
       
    34     {
       
    35     return KUidVcExecutorApp;
       
    36     }
       
    37 
       
    38    
       
    39 // ---------------------------------------------------------
       
    40 // CVCExecutorApp::CreateDocumentL
       
    41 // Creates document object
       
    42 // ---------------------------------------------------------
       
    43 //
       
    44 CApaDocument* CVCExecutorApp::CreateDocumentL()
       
    45     {
       
    46     return CVCExecutorAppDocument::NewL( *this );
       
    47     }
       
    48 
       
    49 
       
    50 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    51 
       
    52 // ---------------------------------------------------------
       
    53 // NewApplication
       
    54 // Creates CVCExecutorApp object
       
    55 // ---------------------------------------------------------
       
    56 //
       
    57 LOCAL_C CApaApplication* NewApplication()
       
    58     {
       
    59     return new CVCExecutorApp;
       
    60     }
       
    61     
       
    62 // ---------------------------------------------------------
       
    63 // E32Main
       
    64 // Main
       
    65 // ---------------------------------------------------------
       
    66 //
       
    67 GLDEF_C TInt E32Main()
       
    68     {
       
    69     return EikStart::RunApplication( NewApplication );
       
    70     }
       
    71 
       
    72 // End of File