messagingfw/msgsrvnstore/server/inc/mtmconfig.rh
changeset 22 bde600d88860
parent 0 8e480a14352b
equal deleted inserted replaced
21:08008ce8a6df 22:bde600d88860
       
     1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // MTMTOOL.RH
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedPartner
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef __MTMTOOL_RH__
       
    25 #define __MTMTOOL_RH__
       
    26 
       
    27 #include <badef.rh>
       
    28 #include <msvstd.hrh>
       
    29 #include <e32capability.h> // this special header can be included in resource files
       
    30 
       
    31 
       
    32 /**
       
    33 * @publishedPartner
       
    34 * @released
       
    35 */
       
    36 STRUCT VERSION_V2
       
    37 	{
       
    38 	// Default version values are always provided
       
    39 	WORD major = KMtmComponentCurrentMajorVersionNumber;
       
    40 	WORD minor = KMtmComponentCurrentMinorVersionNumber;
       
    41 	WORD build = KMtmComponentCurrentBuildVersionNumber;
       
    42 	}
       
    43 /**
       
    44 * @publishedPartner
       
    45 * @released
       
    46 */
       
    47 
       
    48 STRUCT MTM_COMPONENT_V2
       
    49 	{
       
    50 	LTEXT human_readable_name = "";
       
    51 	LONG component_uid;
       
    52 	LONG specific_uid_v2 = KUidMtmDefaultSpecificVal; // label name change forces clients to update
       
    53 	WORD entry_point;
       
    54 	STRUCT version;
       
    55 	LTEXT filename(KMsvMaxFilenameLength);
       
    56 	}
       
    57 /**
       
    58 * @publishedPartner
       
    59 * @released
       
    60 */
       
    61 STRUCT MTM_INFO_FILE
       
    62 	{
       
    63 	LONG mtm_type_uid;
       
    64 	LONG technology_type_uid;
       
    65 	STRUCT components[];
       
    66 	}
       
    67 /**
       
    68 * @publishedPartner
       
    69 * @released
       
    70 */
       
    71 
       
    72 STRUCT MTM_CAPABILITIES
       
    73 	{
       
    74 	BYTE send_capability;
       
    75 	BYTE body_capability;
       
    76 	}
       
    77 
       
    78 
       
    79 // Note that once __REMOVE_MESSAGING_API_V1__ is defined, a resource of this 
       
    80 // type *must* be in the MTM resource file (at position 3), even if that MTM
       
    81 // requires no additional capabilities to be defined.
       
    82 
       
    83 /**
       
    84 * @publishedPartner
       
    85 * @released
       
    86 */
       
    87 
       
    88 STRUCT MTM_SECURITY_CAPABILITY_SET
       
    89 	{
       
    90 	LONG version = KMsvCurrentSecurityCapabilitySetVersion;
       
    91 	LONG capabilities[];
       
    92 	}
       
    93 
       
    94 
       
    95 #endif