mmappfw_plat/mpx_common_api/inc/mpxmessagegeneraldefs.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Definitions for message type
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CMPXMESSAGEGENERALDEFS_H
       
    21 #define CMPXMESSAGEGENERALDEFS_H
       
    22 
       
    23 #include <e32base.h>
       
    24 #include <mpxattribute.h>
       
    25 
       
    26 /**
       
    27 * Content ID identifying general category of content provided
       
    28 * in the message object and associated attributes. This should
       
    29 * be supported by ALL message objects as a common base
       
    30 */
       
    31 
       
    32 const TInt KMPXMessageContentIdGeneral = 0x10282944;
       
    33 /**
       
    34 *  Attributes supported for KMPXMessageIdGeneral
       
    35 */    
       
    36 /**
       
    37 *  TMPXMessageId, *unique* id of the message
       
    38 */
       
    39 const TMPXAttributeData KMPXMessageGeneralId={KMPXMessageContentIdGeneral, 0x01};
       
    40 /**
       
    41  *  General event, optional, TInt
       
    42  */
       
    43 const TMPXAttributeData KMPXMessageGeneralEvent={KMPXMessageContentIdGeneral, 0x02};
       
    44 /**
       
    45  *  General type, optional, TInt
       
    46  */
       
    47 const TMPXAttributeData KMPXMessageGeneralType={KMPXMessageContentIdGeneral, 0x04};
       
    48 /**
       
    49  *  General data, optional, TInt
       
    50  */
       
    51 const TMPXAttributeData KMPXMessageGeneralData={KMPXMessageContentIdGeneral, 0x08};
       
    52 
       
    53 /** 
       
    54 *  Attributes supported for KMPXMessageIdGeneral.
       
    55 *
       
    56 *  @deprecated Use the above consts
       
    57 */    
       
    58 enum 
       
    59     {
       
    60     /**
       
    61     *  TMPXMessageId, *unique* id of the message
       
    62     */
       
    63     EMPXMessageGeneralId = 0x01
       
    64     
       
    65     };
       
    66 
       
    67 /**
       
    68  *  Unique id of KMPXMessageGeneral
       
    69  *  KMPXMessageGeneral contains the attributes: KMPXMessageGeneralEvent,
       
    70  *  KMPXMessageGeneralType, KMPXMessageGeneralData
       
    71  */
       
    72 const TInt KMPXMessageGeneral = 0x10282967;
       
    73 
       
    74 #endif // CMPXMESSAGEGENERALDEFS_H