epoc32/include/dial_consts.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/dial_consts.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/dial_consts.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,93 @@
     1.4 -dial_consts.h
     1.5 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +
    1.21 +
    1.22 +/**
    1.23 + @file 
    1.24 + @publishedAll
    1.25 + @deprecated 9.1
    1.26 +*/
    1.27 +
    1.28 +#ifndef __DIAL_CONSTS_H__
    1.29 +/**
    1.30 +@internalComponent
    1.31 +@deprecated 9.1
    1.32 +*/
    1.33 +#define __DIAL_CONSTS_H__
    1.34 +
    1.35 +/** Maximum length for TDialString. 
    1.36 +@internalComponent
    1.37 +@released
    1.38 +*/
    1.39 +const TInt KMaxDialString=50;
    1.40 +
    1.41 +/** Maximum length for TAreaCode. 
    1.42 +@internalComponent
    1.43 +@released
    1.44 +*/
    1.45 +const TInt KMaxAreaCode=10;
    1.46 +
    1.47 +/** Maximum length for TNatCode. 
    1.48 +@internalComponent
    1.49 +@released
    1.50 +*/
    1.51 +const TInt KMaxNatCode=10;
    1.52 +
    1.53 +/** Maximum length for TNatPrefCode.
    1.54 +@internalComponent
    1.55 +@released
    1.56 +*/
    1.57 +const TInt KMaxNatPrefCode=10;
    1.58 +
    1.59 +/** Maximum length for TIntlPrefCode. 
    1.60 +@internalComponent
    1.61 +@released
    1.62 +*/
    1.63 +const TInt KMaxIntlPrefCode=10;
    1.64 +
    1.65 +/** A buffer to contain a telephone number to dial. 
    1.66 +@publishedAll
    1.67 +@released
    1.68 +*/
    1.69 +typedef TBuf<KMaxDialString> TDialString;
    1.70 +
    1.71 +/** A buffer for a telephony area code. 
    1.72 +@publishedAll
    1.73 +@released
    1.74 +*/
    1.75 +typedef TBuf<KMaxAreaCode> TAreaCode;
    1.76 +
    1.77 +/** A buffer for a telephony national code. 
    1.78 +@publishedAll
    1.79 +@released
    1.80 +*/
    1.81 +typedef TBuf<KMaxNatCode> TNatCode;
    1.82 +
    1.83 +/** A buffer for a telephony national prefix code. 
    1.84 +@publishedAll
    1.85 +@released
    1.86 +*/
    1.87 +typedef TBuf<KMaxNatPrefCode> TNatPrefCode;
    1.88 +
    1.89 +/** A buffer for a telephony international prefix code. 
    1.90 +@publishedAll
    1.91 +@released
    1.92 +*/
    1.93 +typedef TBuf<KMaxIntlPrefCode> TIntlPrefCode;
    1.94 +
    1.95 +
    1.96 +
    1.97 +#endif