usbmgmt/usbmgr/usbman/server/public/rusb.h
branchRCL_3
changeset 43 012cc2ee6408
parent 42 f92a4f87e424
equal deleted inserted replaced
42:f92a4f87e424 43:012cc2ee6408
     1 /*
     1 /*
     2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2003-2009 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__
       
    39 _LIT(KUsbServerName, "!usbman");
    38 _LIT(KUsbServerName, "!usbman");
    40 #else
       
    41 _LIT(KUsbServerName, "!usbman_over_dummyusbdi");
       
    42 #endif
       
    43 
    39 
    44 enum TUsbMessages
    40 enum TUsbMessages
    45 	{
    41 	{
    46 	EUsbStart,
    42 	EUsbStart,
    47 	EUsbStop,
    43 	EUsbStop,
    83 	EUsbGetManufacturerStringDescriptor,
    79 	EUsbGetManufacturerStringDescriptor,
    84 	EUsbGetProductStringDescriptor,
    80 	EUsbGetProductStringDescriptor,
    85 	EUsbGetOtgDescriptor,
    81 	EUsbGetOtgDescriptor,
    86 	EUsbDbgAlloc,
    82 	EUsbDbgAlloc,
    87 	EUsbRequestSession,
    83 	EUsbRequestSession,
       
    84 	EUsbGetDetailedDescription,
    88 	EUsbGetPersonalityProperty
    85 	EUsbGetPersonalityProperty
    89 	};
    86 	};
    90 
    87 
    91 _LIT(KUsbCliPncCat, "UsbMan-Client");
    88 _LIT(KUsbCliPncCat, "UsbMan-Client");
    92 
    89