menucontentsrv/inc/menusrvdef.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Definition of menu server constants
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MENUSRVDEF_H_
       
    20 #define __MENUSRVDEF_H_
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /// Major version number.
       
    25 LOCAL_D const TInt KMenuMajorVersion = 1;
       
    26 /// Minor version number.
       
    27 LOCAL_D const TInt KMenuMinorVersion = 0;
       
    28 /// Build number.
       
    29 LOCAL_D const TInt KMenuBuild = 0;
       
    30 
       
    31 /// Menu Content Service Server name.
       
    32 _LIT( KMenuSrvName, "!MCSSRV" );
       
    33 /// Menu Content Service Server executable.
       
    34 _LIT( KMenuSrvExe, "mcsmenuserver" );
       
    35 /// Exit delay in microseconds (10 sec).
       
    36 LOCAL_D const TInt KMenuSrvExitDelay = 10000000;
       
    37 /// Stream buffer size.
       
    38 LOCAL_D const TInt KMenuStreamBufSize = 512;
       
    39 
       
    40 /**
       
    41  *  Stream buffer data container.
       
    42  */
       
    43 NONSHARABLE_CLASS( TMenuBuf )
       
    44     {
       
    45 
       
    46 public:     // Data
       
    47 
       
    48     TInt iLen; ///< Data length.
       
    49     TUint8 iData[KMenuStreamBufSize]; ///< Data buffer.
       
    50 
       
    51     };
       
    52 
       
    53 #endif // __MENUSRVDEF_H_
       
    54