usbclasses/usbbasicpersonality/tsrc/UsbBasicPersonalityTest/src/UsbBasicPersonalityTest_exe.cpp
branchRCL_3
changeset 92 dde4619868dc
parent 86 703a2b94c06c
child 95 55a3258355ea
equal deleted inserted replaced
86:703a2b94c06c 92:dde4619868dc
     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 <e32base.h>
       
    21 #include <e32svr.h>
       
    22 #include <StifTestInterface.h>                  
       
    23 // EXTERNAL DATA STRUCTURES
       
    24 
       
    25 // EXTERNAL FUNCTION PROTOTYPES  
       
    26 
       
    27 // ================= OTHER EXPORTED FUNCTIONS =================================
       
    28 
       
    29 /*
       
    30 -------------------------------------------------------------------------------
       
    31 
       
    32     Class: -
       
    33 
       
    34     Method: E32Main
       
    35 
       
    36     Description: 
       
    37 
       
    38     Parameters: None
       
    39 
       
    40     Return Values: TInt: Symbian error code
       
    41 
       
    42     Errors/Exceptions: None
       
    43 
       
    44     Status: Draft
       
    45 
       
    46 -------------------------------------------------------------------------------
       
    47 */
       
    48 GLDEF_C TInt E32Main()
       
    49     {
       
    50     _LIT( KProcessMsgStart, "New process starting" );
       
    51     RDebug::Print( KProcessMsgStart );
       
    52 
       
    53 
       
    54     // This starts a new session that get capabilites that is used in 
       
    55     // UsbBasicPersonalityTest_exe.mmp file.
       
    56     TInt r = StartSession();
       
    57 
       
    58     _LIT( KProcessMsgEnd, "New process ends" );
       
    59     RDebug::Print( KProcessMsgEnd );
       
    60 
       
    61     return r;
       
    62 
       
    63     }
       
    64 
       
    65 // End of File