usbmgmt/usbmgr/device/classdrivers/ncm/classimplementation/ncmpktdrv/server/inc/ncmserverconsts.h
branchRCL_3
changeset 43 012cc2ee6408
parent 42 f92a4f87e424
child 45 ee9b31ff95f7
child 52 3d9964be03bc
equal deleted inserted replaced
42:f92a4f87e424 43:012cc2ee6408
     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 NCMSERVERCONSTS_H
       
    24 #define NCMSERVERCONSTS_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 _LIT(KNcmServerName, "!NcmInternalSrv");
       
    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 NCM server panics the client. */
       
    48 _LIT(KNcmSrvPanic,"NCMInternSrv");
       
    49 
       
    50 /** Panic codes with which the NCM 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 // NCMSERVERCONSTS_H