syncmlfw/dm/syncagent/inc/nsmldmagconstants.h
changeset 0 b497e44ab2fc
child 55 1c556dee8eb1
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2002 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:  DM Agent constants
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __NSMLDMAGCONSTANTS_H
       
    21 #define __NSMLDMAGCONSTANTS_H
       
    22 
       
    23 // MACROS
       
    24 // Alert codes
       
    25 _LIT8( KNSmlDMAgentServerInitAlert, "1200" );
       
    26 _LIT8( KNSmlDMAgentClientInitAlert, "1201" );
       
    27 _LIT8( KNSmlDMAgentResultAlert, "1221" );
       
    28 _LIT8( KNSmlDMAgentNextMessage, "1222" ); 
       
    29 _LIT8( KNSmlDMAgentSessionAbortAlert, "1223" );
       
    30 // FOTA
       
    31 _LIT8( KNSmlDMAgentGenericAlert, "1226" );
       
    32 // FOTA end
       
    33 _LIT8( KNSmlDMAgentDisplayAlert, "1100" );
       
    34 _LIT8( KNSmlDMAgentContinueOrAbortAlert, "1101" );
       
    35 //#ifdef RD_DM_TEXT_INPUT_ALERT //for User Input Server alert
       
    36 _LIT8( KNSmlDMAgentUserInputAlert, "1102" );
       
    37 _LIT8( KNSmlDMAgentSingleChoiceAlert, "1103" );
       
    38 _LIT8( KNSmlDMAgentMultipleChoiceAlert, "1104" );
       
    39 //#endif
       
    40 // DM protocol version
       
    41 _LIT8( KNSmlDMAgentVerProto, "DM/1.1" );
       
    42 _LIT8( KNSmlDMAgentVerProto12, "DM/1.2" );
       
    43 // DM MIME type
       
    44 _LIT8( KNSmlDMAgentMIMEType, "application/vnd.syncml.dm+wbxml" );
       
    45 // MINDT parameter
       
    46 _LIT8( KNSmlDMAgentMINDT, "MINDT=" );
       
    47 // MAXDT parameter
       
    48 _LIT8( KNSmlDMAgentMAXDT, "MAXDT=" );
       
    49 //#ifdef RD_DM_TEXT_INPUT_ALERT
       
    50 // DEFAULT RESPONSE parameter
       
    51 _LIT8( KNSmlDMAgentDR, "DR=" );
       
    52 //MAXIMUM LENGTH parameter for user input alert
       
    53 _LIT8( KNSmlDMAgentMAXLEN,"MAXLEN=" );
       
    54 //Input Type paramaeter for User Input alert
       
    55 _LIT8( KNSmlDMAgentIT,"IT=" );
       
    56 //Echo Type paramaeter for User Input alert
       
    57 _LIT8( KNSmlDMAgentET,"ET=" );
       
    58 //#endif
       
    59 const TUint16 KMaxInt16 = 65535;
       
    60 
       
    61 #endif // __NSMLDMAGCONSTANTS_H