usbmgmt/usbmgr/usbman/server/INC/UsbSettings.h
changeset 0 c9bc50fca66e
child 15 f92a4f87e424
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /**
       
     2 * Copyright (c) 1997-2009 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 * Defines USB settings
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file
       
    24 */
       
    25 
       
    26 #ifndef __USBSETTINGS_H__
       
    27 #define __USBSETTINGS_H__
       
    28 
       
    29 #include <e32std.h>
       
    30 
       
    31 //	These definitions are used as the second level of defaults
       
    32 //	and overlay the initial settings that are put in place by
       
    33 //	the construction in the PDD (file pa_usbc.cpp)
       
    34 //
       
    35 //	********************************************************
       
    36 //	* These values are *not* to be changed by the licensee *
       
    37 //	********************************************************
       
    38 //
       
    39 
       
    40 const TUint16	KUsbDefaultBcdUsb				= 0x0000;
       
    41 const TUint8	KUsbDefaultDeviceClass			= 0x02;
       
    42 const TUint8	KUsbDefaultDeviceSubClass		= 0x00;
       
    43 const TUint8	KUsbDefaultDeviceProtocol		= 0x00;
       
    44 const TUint16	KUsbDefaultVendorId				= 0x0e22;
       
    45 const TUint16	KUsbDefaultProductId			= 0x000b;
       
    46 const TUint16	KUsbDefaultBcdDevice			= 0x0000;
       
    47 
       
    48 _LIT(KUsbDefaultManufacturer, "Symbian Ltd.");
       
    49 _LIT(KUsbDefaultProduct, "Symbian OS");
       
    50 _LIT(KUsbDefaultSerialNumber, "0123456789");
       
    51 _LIT(KUsbDefaultConfig, "First and Last and Always");
       
    52 
       
    53 const TInt KUsbManagerResourceVersion = 0;
       
    54 const TInt KUsbManagerResourceVersionNew = 1;
       
    55 
       
    56 enum TUsbManagerResourceVersion
       
    57 	{
       
    58 	EUsbManagerResourceVersionOne = 1,
       
    59 	EUsbManagerResourceVersionTwo = 2,
       
    60 	EUsbManagerResourceVersionThree = 3
       
    61 	};
       
    62 
       
    63 _LIT(KUsbManagerResource, "z:\\private\\101fe1db\\usbman.rsc");
       
    64 
       
    65 #endif // __USBSETTINGS_H__