genericservices/httputils/inc/AuthorityCommon.h
changeset 0 e4d67989cc36
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/genericservices/httputils/inc/AuthorityCommon.h	Tue Feb 02 02:01:42 2010 +0200
@@ -0,0 +1,66 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Internal header file with common information used by the authority
+// classes TAuthorityC??, CAuthority?? and TAuthorityParser??.
+// 
+//
+
+/**
+ @file AuthorityCommon.h
+ @publishedAll
+ @released
+ @see Authority8.h, Authority16.h
+*/
+
+#ifndef __AUTHORITYCOMMON_H__
+#define __AUTHORITYCOMMON_H__
+
+// System includes
+//
+#include <e32base.h>
+
+/**
+enum TAuthorityComponent
+Enum defining the authority components.
+@publishedAll
+@released
+@warning		The enum value EAuthorityMaxComponents should not be used as it will 
+cause a panic.
+@since			6.0	
+*/
+enum TAuthorityComponent
+	{
+	/** 
+		The userinfo component specifier 
+	*/
+	EAuthorityUserinfo = 0,
+	/** 
+		The host component specifier 
+	*/
+	EAuthorityHost,
+	/** 
+		The port component specifier 
+	*/
+	EAuthorityPort,
+	/** 
+		Do not use as a field specifier - will cause panic 
+	*/
+	EAuthorityMaxComponents,
+	/** 
+		The complete Authority. Only use with DisplayFormL, otherwise will cause panic 
+	*/
+	EAuthorityComplete = -1
+	};
+		
+#endif	// __AUTHORITYCOMMON_H__