diff -r 000000000000 -r bde4ae8d615e os/ossrv/genericservices/httputils/inc/AuthorityCommon.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/ossrv/genericservices/httputils/inc/AuthorityCommon.h Fri Jun 15 03:10:57 2012 +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 + +/** +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__