usbservices_plat/usb_personality_plugin_api/tsrc/usbpersonalitypluginapitest/src/UsbPersonalityPluginTest_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) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This material, including documentation and any related computer
       
     5 * programs, is protected by copyright controlled by Nokia. All
       
     6 * rights are reserved. Copying, including reproducing, storing
       
     7 * adapting or translating, any or all of this material requires the
       
     8 * prior written consent of Nokia. This material also contains
       
     9 * confidential information which may not be disclosed to others
       
    10 * without the prior written consent of Nokia.
       
    11 *
       
    12 * Initial Contributors:
       
    13 * Nokia Corporation - initial contribution.
       
    14 *
       
    15 * Contributors:
       
    16 *
       
    17 * Description: 
       
    18 *
       
    19 */
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include <e32base.h>
       
    23 #include <e32svr.h>
       
    24 #include <StifTestInterface.h>
       
    25 // EXTERNAL DATA STRUCTURES
       
    26 
       
    27 // EXTERNAL FUNCTION PROTOTYPES  
       
    28 
       
    29 // ================= OTHER EXPORTED FUNCTIONS =================================
       
    30 
       
    31 /*
       
    32 -------------------------------------------------------------------------------
       
    33 
       
    34     Class: -
       
    35 
       
    36     Method: E32Main
       
    37 
       
    38     Description: 
       
    39 
       
    40     Parameters: None
       
    41 
       
    42     Return Values: TInt: Symbian error code
       
    43 
       
    44     Errors/Exceptions: None
       
    45 
       
    46     Status: Draft
       
    47 
       
    48 -------------------------------------------------------------------------------
       
    49 */
       
    50 GLDEF_C TInt E32Main()
       
    51     {
       
    52     _LIT( KProcessMsgStart, "New process starting" );
       
    53     RDebug::Print( KProcessMsgStart );
       
    54 
       
    55 
       
    56     // This starts a new session that get capabilites that is used in 
       
    57     // usbpersonalityplugintest_exe.mmp file.
       
    58     TInt r = StartSession();
       
    59 
       
    60     _LIT( KProcessMsgEnd, "New process ends" );
       
    61     RDebug::Print( KProcessMsgEnd );
       
    62 
       
    63     return r;
       
    64 
       
    65     }
       
    66 
       
    67 // End of File