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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
24 #ifndef __DIAL_CONSTS_H__
29 #define __DIAL_CONSTS_H__
31 /** Maximum length for TDialString.
35 const TInt KMaxDialString=50;
37 /** Maximum length for TAreaCode.
41 const TInt KMaxAreaCode=10;
43 /** Maximum length for TNatCode.
47 const TInt KMaxNatCode=10;
49 /** Maximum length for TNatPrefCode.
53 const TInt KMaxNatPrefCode=10;
55 /** Maximum length for TIntlPrefCode.
59 const TInt KMaxIntlPrefCode=10;
61 /** A buffer to contain a telephone number to dial.
65 typedef TBuf<KMaxDialString> TDialString;
67 /** A buffer for a telephony area code.
71 typedef TBuf<KMaxAreaCode> TAreaCode;
73 /** A buffer for a telephony national code.
77 typedef TBuf<KMaxNatCode> TNatCode;
79 /** A buffer for a telephony national prefix code.
83 typedef TBuf<KMaxNatPrefCode> TNatPrefCode;
85 /** A buffer for a telephony international prefix code.
89 typedef TBuf<KMaxIntlPrefCode> TIntlPrefCode;