diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/http/thttpfilterregistration.h --- a/epoc32/include/http/thttpfilterregistration.h Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/http/thttpfilterregistration.h Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,102 @@ -thttpfilterregistration.h +// 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 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 THTTPFilterRegistration.h + @warning : This file contains Rose Model ID comments - please do not delete +*/ + +#ifndef __THTTPFILTERREGISTRATION_H__ +#define __THTTPFILTERREGISTRATION_H__ + +// System includes +#include +#include +#include + +// Forward declarations +class MHTTPFilter; + + +//##ModelId=3C4C187D0188 +class THTTPFilterRegistration +/** +A registration of a filter in the filter queue +@publishedAll +@released +*/ + { + public: + /// Default constructor + //##ModelId=3C4C187D020B + THTTPFilterRegistration(); + /// Constructor + //##ModelId=3C4C187D0214 + THTTPFilterRegistration(MHTTPFilter& aFilter, THTTPEvent aEvent, + RStringTokenF aHeader, TInt aStatusCode, + TInt aPosition, RStringTokenF aName, TInt aHandle); + /// Equality operator + //##ModelId=3C4C187D0201 + TBool operator==(THTTPFilterRegistration& aThat); + /// Inequality operator + //##ModelId=3C4C187D01F9 + TBool operator!=(THTTPFilterRegistration& aThat); + + public: + /// The position + //##ModelId=3C4C187D01F6 + TInt iPosition; // This MUST be first! + /// The filter + //##ModelId=3C4C187D01E4 + MHTTPFilter* iFilter; + /// The event it's interested in (or any) + //##ModelId=3C4C187D01D8 + THTTPEvent iEvent; + /// The header it's interested in (or any) + //##ModelId=3C4C187D01C6 + RStringTokenF iHeader; + /// The status it's interested in (or any) + //##ModelId=3C4C187D01BC + TInt iStatus; + /// The name of the filter + //##ModelId=3C4C187D01B2 + RStringTokenF iName; + /// The handle of the filter + //##ModelId=3C4C187D01A8 + TInt iHandle; + }; + +inline THTTPFilterRegistration::THTTPFilterRegistration() + : iEvent(THTTPEvent::EAll) + { + } + +inline THTTPFilterRegistration::THTTPFilterRegistration(MHTTPFilter& aFilter, + THTTPEvent aEvent, + RStringTokenF aHeader, + TInt aStatusCode, + TInt aPosition, + RStringTokenF aName, + TInt aHandle) + :iPosition(aPosition), iFilter(&aFilter), iEvent(aEvent), + iHeader(aHeader), iStatus(aStatusCode) , iName(aName), iHandle(aHandle) + { + } + + + +#endif // __THTTPFILTERREGISTRATION_H__