usbengines/usbremotepersonality/tsrc/USBRemotePersonalityTest/src/USBRemotePersonalityTest_exe.cpp
changeset 0 1e05558e2206
equal deleted inserted replaced
-1:000000000000 0:1e05558e2206
       
     1 /*
       
     2 * Copyright (c) 2002 - 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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <e32base.h>
       
    22 #include <e32svr.h>
       
    23 #include <StifTestInterface.h>
       
    24 // EXTERNAL DATA STRUCTURES
       
    25 
       
    26 // EXTERNAL FUNCTION PROTOTYPES  
       
    27 
       
    28 // ================= OTHER EXPORTED FUNCTIONS =================================
       
    29 
       
    30 /*
       
    31 -------------------------------------------------------------------------------
       
    32 
       
    33     Class: -
       
    34 
       
    35     Method: E32Main
       
    36 
       
    37     Description: 
       
    38 
       
    39     Parameters: None
       
    40 
       
    41     Return Values: TInt: Symbian error code
       
    42 
       
    43     Errors/Exceptions: None
       
    44 
       
    45     Status: Draft
       
    46 
       
    47 -------------------------------------------------------------------------------
       
    48 */
       
    49 GLDEF_C TInt E32Main()
       
    50     {
       
    51     _LIT( KProcessMsgStart, "New process starting" );
       
    52     RDebug::Print( KProcessMsgStart );
       
    53 
       
    54 
       
    55     // This starts a new session that get capabilites that is used in 
       
    56     // USBRemotePersonalityTest_exe.mmp file.
       
    57     TInt r = StartSession();
       
    58 
       
    59     _LIT( KProcessMsgEnd, "New process ends" );
       
    60     RDebug::Print( KProcessMsgEnd );
       
    61 
       
    62     return r;
       
    63 
       
    64     }
       
    65 
       
    66 // End of File