usbmgmt/usbmgr/host/functiondrivers/ms/msmm/inc/srvdef.h
changeset 0 c9bc50fca66e
child 15 f92a4f87e424
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2008-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 *
       
    16 */
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef SRVDEF_H
       
    24 #define SRVDEF_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 // Constants
       
    29 
       
    30 // The MSMM server name
       
    31 _LIT(KMsmmServerName, "!MSMM Server");
       
    32 
       
    33 #ifdef __OVER_DUMMYCOMPONENT__
       
    34 _LIT(KMsmmServerBinaryName, "msmmserver_over_dummycomponent.exe");
       
    35 // server UID
       
    36 const TUid KMsmmServUid = {0x1028653F};
       
    37 #else
       
    38 /** The MSMM server binary executable file name */
       
    39 _LIT(KMsmmServerBinaryName, "msmmserver.exe");
       
    40 /** The MSMM server UID */
       
    41 const TUid KMsmmServUid = {0x10285c44};
       
    42 #endif
       
    43 
       
    44 #ifdef __OVER_DUMMYCOMPONENT__
       
    45 // Just the FDF process can start the MSMM server
       
    46 const TUint32 KFDFWSecureId = 0x10285c46; // SID for unit test project
       
    47 #else
       
    48 const TUint32 KFDFWSecureId = 0x10282B48;
       
    49 #endif
       
    50 
       
    51 /** The Msmm Version numbers */
       
    52 const TUint KMsmmServMajorVersionNumber = 1;
       
    53 const TUint KMsmmServMinorVersionNumber = 0;
       
    54 const TUint KMsmmServBuildVersionNumber = 1;
       
    55 
       
    56 /** IPC messages supported by the server. */
       
    57 enum TServMessage
       
    58     {
       
    59     EHostMsmmServerAddFunction = 0, // Add function request
       
    60     EHostMsmmServerRemoveDevice = 2, // Remove device request
       
    61     EHostMsmmServerDbgFailNext = 3,
       
    62     EHostMsmmServerDbgAlloc = 4,
       
    63     EHostMsmmServerEndMarker // Request end mark
       
    64     };
       
    65 
       
    66 // Default number of message slots per session
       
    67 const TUint KDefaultMessageSlots = 1;
       
    68 
       
    69 // Max connection number
       
    70 const TInt KMaxClientCount = 1;
       
    71 
       
    72 #endif // #ifndef SRVDEF_H