epoc32/include/mtmconfig.rh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // MTMTOOL.RH
    15 // 
    16 //
    17 
    18 
    19 
    20 /**
    21  @file
    22  @publishedAll
    23  @released
    24 */
    25 
    26 #ifndef __MTMTOOL_RH__
    27 #define __MTMTOOL_RH__
    28 
    29 #include <badef.rh>
    30 #include <msvstd.hrh>
    31 #include <e32capability.h> // this special header can be included in resource files
    32 
    33 
    34 /**
    35 * @publishedPartner
    36 * @released
    37 */
    38 STRUCT VERSION_V2
    39 	{
    40 	// Default version values are always provided
    41 	WORD major = KMtmComponentCurrentMajorVersionNumber;
    42 	WORD minor = KMtmComponentCurrentMinorVersionNumber;
    43 	WORD build = KMtmComponentCurrentBuildVersionNumber;
    44 	}
    45 /**
    46 * @publishedPartner
    47 * @released
    48 */
    49 
    50 STRUCT MTM_COMPONENT_V2
    51 	{
    52 	LTEXT human_readable_name = "";
    53 	LONG component_uid;
    54 	LONG specific_uid_v2 = KUidMtmDefaultSpecificVal; // label name change forces clients to update
    55 	WORD entry_point;
    56 	STRUCT version;
    57 	LTEXT filename(KMsvMaxFilenameLength);
    58 	}
    59 /**
    60 * @publishedPartner
    61 * @released
    62 */
    63 STRUCT MTM_INFO_FILE
    64 	{
    65 	LONG mtm_type_uid;
    66 	LONG technology_type_uid;
    67 	STRUCT components[];
    68 	}
    69 /**
    70 * @publishedPartner
    71 * @released
    72 */
    73 
    74 STRUCT MTM_CAPABILITIES
    75 	{
    76 	BYTE send_capability;
    77 	BYTE body_capability;
    78 	}
    79 
    80 
    81 // Note that once __REMOVE_MESSAGING_API_V1__ is defined, a resource of this 
    82 // type *must* be in the MTM resource file (at position 3), even if that MTM
    83 // requires no additional capabilities to be defined.
    84 
    85 /**
    86 * @publishedPartner
    87 * @released
    88 */
    89 
    90 STRUCT MTM_SECURITY_CAPABILITY_SET
    91 	{
    92 	LONG version = KMsvCurrentSecurityCapabilitySetVersion;
    93 	LONG capabilities[];
    94 	}
    95 
    96 
    97 #endif