kerneltest/e32test/usb/t_usb_device/include/tranhandlsession.h
changeset 247 d8d70de2bd36
equal deleted inserted replaced
201:43365a9b78a3 247:d8d70de2bd36
       
     1 /*
       
     2 * Copyright (c) 2010 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 *
       
    16 */
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef TRANHANDLESERVERCONSTS_H
       
    24 #define TRANHANDLESERVERCONSTS_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 _LIT(KTranHandleServerName, "!TranHandleSrv");
       
    29 
       
    30 /** Version numbers. */
       
    31 const TInt8 KNcmSrvMajorVersionNumber = 1;
       
    32 const TInt8 KNcmSrvMinorVersionNumber = 1;
       
    33 const TInt16 KNcmSrvBuildNumber = 0;
       
    34 
       
    35 /** IPC messages supported by the server. */
       
    36 enum TNcmIpc
       
    37     {
       
    38     ENcmTransferHandle              = 0,
       
    39     ENcmSetIapId,
       
    40     ENcmSetDhcpResult,
       
    41     ENcmDhcpProvisionNotify,
       
    42     ENcmDhcpProvisionNotifyCancel,
       
    43     ENcmTransferBufferSize,
       
    44     ENcmNotSupport
       
    45     };
       
    46     
       
    47 /** Panic category with which the ACM server panics the client. */
       
    48 _LIT(KNcmSrvPanic,"NCMServer");
       
    49 
       
    50 /** Panic codes with which the ACM server panics the client. */
       
    51 enum TNcmSvrPanic
       
    52     {
       
    53     /** The client has sent a bad IPC message number. */
       
    54     ENcmBadNcmMessage        = 0
       
    55     };
       
    56     
       
    57 /** Set value to server. the value is defined by type.*/
       
    58 enum TNcmSetType
       
    59     {
       
    60     ENcmSetTypeIapId,
       
    61     ENcmSetTypeDhcpReturn
       
    62     };
       
    63 
       
    64 #endif // ACMSERVERCONSTS_H