telephonyutils/dial/inc/dial_consts.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2007-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 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file 
       
    20  @publishedAll
       
    21  @deprecated 9.1
       
    22 */
       
    23 
       
    24 #ifndef __DIAL_CONSTS_H__
       
    25 /**
       
    26 @publishedAll
       
    27 @deprecated 9.1
       
    28 */
       
    29 #define __DIAL_CONSTS_H__
       
    30 
       
    31 /** Maximum length for TDialString. 
       
    32 @publishedAll
       
    33 @released
       
    34 */
       
    35 const TInt KMaxDialString=50;
       
    36 
       
    37 /** Maximum length for TAreaCode. 
       
    38 @publishedAll
       
    39 @released
       
    40 */
       
    41 const TInt KMaxAreaCode=10;
       
    42 
       
    43 /** Maximum length for TNatCode. 
       
    44 @publishedAll
       
    45 @released
       
    46 */
       
    47 const TInt KMaxNatCode=10;
       
    48 
       
    49 /** Maximum length for TNatPrefCode.
       
    50 @publishedAll
       
    51 @released
       
    52 */
       
    53 const TInt KMaxNatPrefCode=10;
       
    54 
       
    55 /** Maximum length for TIntlPrefCode. 
       
    56 @publishedAll
       
    57 @released
       
    58 */
       
    59 const TInt KMaxIntlPrefCode=10;
       
    60 
       
    61 /** A buffer to contain a telephone number to dial. 
       
    62 @publishedAll
       
    63 @released
       
    64 */
       
    65 typedef TBuf<KMaxDialString> TDialString;
       
    66 
       
    67 /** A buffer for a telephony area code. 
       
    68 @publishedAll
       
    69 @released
       
    70 */
       
    71 typedef TBuf<KMaxAreaCode> TAreaCode;
       
    72 
       
    73 /** A buffer for a telephony national code. 
       
    74 @publishedAll
       
    75 @released
       
    76 */
       
    77 typedef TBuf<KMaxNatCode> TNatCode;
       
    78 
       
    79 /** A buffer for a telephony national prefix code. 
       
    80 @publishedAll
       
    81 @released
       
    82 */
       
    83 typedef TBuf<KMaxNatPrefCode> TNatPrefCode;
       
    84 
       
    85 /** A buffer for a telephony international prefix code. 
       
    86 @publishedAll
       
    87 @released
       
    88 */
       
    89 typedef TBuf<KMaxIntlPrefCode> TIntlPrefCode;
       
    90 
       
    91 
       
    92 
       
    93 #endif