usbmgmt/usbmgr/usbman/server/public/usbshared.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2003-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 * Shared client/server definitions
       
    16 *
       
    17 */
       
    18 
       
    19 /**
       
    20  @file
       
    21  @publishedPartner
       
    22 */
       
    23 
       
    24 #ifndef __USBSHARED_H__
       
    25 #define __USBSHARED_H__
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <usbhostdefs.h>
       
    29 #include <usbotgdefs.h>
       
    30 	
       
    31 /** KUsbMessageBase
       
    32 	
       
    33 	Not used as a message value. 'Base' value for USB OTG/Host related messages which are NOT errors. 
       
    34 	Numerical value: 6600.
       
    35 
       
    36 	@publishedPartner 
       
    37 	@released 
       
    38 */
       
    39 const TInt KUsbMessageBase	= 6600;
       
    40 	
       
    41 
       
    42 /** KUsbMessageSrpInitiated
       
    43 
       
    44 	Used to inform the observer about SRP request 
       
    45 
       
    46 	@publishedPartner 
       
    47 	@released 
       
    48 */
       
    49 const TInt KUsbMessageSrpInitiated	= (KUsbMessageBase+1);
       
    50 
       
    51 /** KUsbMessageSrpReceived
       
    52 
       
    53 	Used to inform the observer about SRP request 
       
    54 
       
    55 	@publishedPartner 
       
    56 	@released 
       
    57 */
       
    58 const TInt KUsbMessageSrpReceived	= (KUsbMessageBase+2);
       
    59 
       
    60 /** KUsbMessageHnpDisabled
       
    61 
       
    62 	Used to inform the observer about HNP status after RESET
       
    63 
       
    64 	@publishedPartner 
       
    65 	@released 
       
    66 */
       
    67 const TInt KUsbMessageHnpDisabled	= (KUsbMessageBase+3);
       
    68 
       
    69 /** KUsbMessageHnpEnabled
       
    70 
       
    71 	Used to inform the observer about HNP status
       
    72 
       
    73 	@publishedPartner 
       
    74 	@released 
       
    75 */
       
    76 const TInt KUsbMessageHnpEnabled	= (KUsbMessageBase+4);
       
    77 
       
    78 /** KUsbMessageVbusRaised
       
    79 
       
    80 	Used to inform the observer about VBUS going up
       
    81 
       
    82 	@publishedPartner 
       
    83 	@released 
       
    84 */
       
    85 const TInt KUsbMessageVbusRaised	= (KUsbMessageBase+5);
       
    86 
       
    87 /** KUsbMessageVbusDropped
       
    88 
       
    89 	Used to inform the observer about VBUS going down
       
    90 
       
    91 	@publishedPartner 
       
    92 	@released 
       
    93 */
       
    94 const TInt KUsbMessageVbusDropped	= (KUsbMessageBase+6);
       
    95 
       
    96 /** KUsbMessageRequestSession
       
    97 
       
    98 	Used to inform the observer about USB session request  
       
    99 
       
   100 	@publishedPartner 
       
   101 	@released
       
   102 */
       
   103 const TInt KUsbMessageRequestSession = (KUsbMessageBase+7);
       
   104 
       
   105 	
       
   106 #endif //__USBSHARED_H__