epoc32/include/dial_consts.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
--- a/epoc32/include/dial_consts.h	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/dial_consts.h	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,93 @@
-dial_consts.h
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// 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
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+
+/**
+ @file 
+ @publishedAll
+ @deprecated 9.1
+*/
+
+#ifndef __DIAL_CONSTS_H__
+/**
+@internalComponent
+@deprecated 9.1
+*/
+#define __DIAL_CONSTS_H__
+
+/** Maximum length for TDialString. 
+@internalComponent
+@released
+*/
+const TInt KMaxDialString=50;
+
+/** Maximum length for TAreaCode. 
+@internalComponent
+@released
+*/
+const TInt KMaxAreaCode=10;
+
+/** Maximum length for TNatCode. 
+@internalComponent
+@released
+*/
+const TInt KMaxNatCode=10;
+
+/** Maximum length for TNatPrefCode.
+@internalComponent
+@released
+*/
+const TInt KMaxNatPrefCode=10;
+
+/** Maximum length for TIntlPrefCode. 
+@internalComponent
+@released
+*/
+const TInt KMaxIntlPrefCode=10;
+
+/** A buffer to contain a telephone number to dial. 
+@publishedAll
+@released
+*/
+typedef TBuf<KMaxDialString> TDialString;
+
+/** A buffer for a telephony area code. 
+@publishedAll
+@released
+*/
+typedef TBuf<KMaxAreaCode> TAreaCode;
+
+/** A buffer for a telephony national code. 
+@publishedAll
+@released
+*/
+typedef TBuf<KMaxNatCode> TNatCode;
+
+/** A buffer for a telephony national prefix code. 
+@publishedAll
+@released
+*/
+typedef TBuf<KMaxNatPrefCode> TNatPrefCode;
+
+/** A buffer for a telephony international prefix code. 
+@publishedAll
+@released
+*/
+typedef TBuf<KMaxIntlPrefCode> TIntlPrefCode;
+
+
+
+#endif