usbmgmt/usbmgr/usbman/server/public/rusb.h
branchRCL_3
changeset 42 f92a4f87e424
parent 0 c9bc50fca66e
child 43 012cc2ee6408
equal deleted inserted replaced
37:d3e8e7d462dd 42:f92a4f87e424
     1 /*
     1 /*
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    33 
    33 
    34 const TInt KUsbMaxSupportedClasses = 64;		// Max number of supported USB classes by a personality
    34 const TInt KUsbMaxSupportedClasses = 64;		// Max number of supported USB classes by a personality
    35 
    35 
    36 const TInt KUsbMaxSupportedPersonalities = 64;	// Max number of supported personalities
    36 const TInt KUsbMaxSupportedPersonalities = 64;	// Max number of supported personalities
    37 
    37 
       
    38 #ifndef __OVER_DUMMYUSBDI__
    38 _LIT(KUsbServerName, "!usbman");
    39 _LIT(KUsbServerName, "!usbman");
       
    40 #else
       
    41 _LIT(KUsbServerName, "!usbman_over_dummyusbdi");
       
    42 #endif
    39 
    43 
    40 enum TUsbMessages
    44 enum TUsbMessages
    41 	{
    45 	{
    42 	EUsbStart,
    46 	EUsbStart,
    43 	EUsbStop,
    47 	EUsbStop,
    79 	EUsbGetManufacturerStringDescriptor,
    83 	EUsbGetManufacturerStringDescriptor,
    80 	EUsbGetProductStringDescriptor,
    84 	EUsbGetProductStringDescriptor,
    81 	EUsbGetOtgDescriptor,
    85 	EUsbGetOtgDescriptor,
    82 	EUsbDbgAlloc,
    86 	EUsbDbgAlloc,
    83 	EUsbRequestSession,
    87 	EUsbRequestSession,
    84 	EUsbGetDetailedDescription,
       
    85 	EUsbGetPersonalityProperty
    88 	EUsbGetPersonalityProperty
    86 	};
    89 	};
    87 
    90 
    88 _LIT(KUsbCliPncCat, "UsbMan-Client");
    91 _LIT(KUsbCliPncCat, "UsbMan-Client");
    89 
    92