epoc32/include/http/thttpfilterregistration.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/http/thttpfilterregistration.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,102 +0,0 @@
     1.4 -// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -
    1.20 -
    1.21 -/**
    1.22 - @file THTTPFilterRegistration.h
    1.23 - @warning : This file contains Rose Model ID comments - please do not delete
    1.24 -*/
    1.25 -
    1.26 -#ifndef __THTTPFILTERREGISTRATION_H__
    1.27 -#define __THTTPFILTERREGISTRATION_H__ 
    1.28 -
    1.29 -// System includes
    1.30 -#include <e32std.h>
    1.31 -#include <stringpool.h>
    1.32 -#include <http/thttpevent.h>
    1.33 -
    1.34 -// Forward declarations
    1.35 -class MHTTPFilter;
    1.36 -
    1.37 -
    1.38 -//##ModelId=3C4C187D0188
    1.39 -class THTTPFilterRegistration
    1.40 -/** 
    1.41 -A registration of a filter in the filter queue
    1.42 -@publishedAll
    1.43 -@released
    1.44 -*/
    1.45 -	{
    1.46 - public:
    1.47 -	/// Default constructor
    1.48 -	//##ModelId=3C4C187D020B
    1.49 -	THTTPFilterRegistration();
    1.50 -	/// Constructor
    1.51 -	//##ModelId=3C4C187D0214
    1.52 -	THTTPFilterRegistration(MHTTPFilter& aFilter, THTTPEvent aEvent,
    1.53 -						RStringTokenF aHeader, TInt aStatusCode, 
    1.54 -						TInt aPosition, RStringTokenF aName, TInt aHandle);
    1.55 -	/// Equality operator
    1.56 -	//##ModelId=3C4C187D0201
    1.57 -	TBool operator==(THTTPFilterRegistration& aThat);
    1.58 -	/// Inequality operator
    1.59 -	//##ModelId=3C4C187D01F9
    1.60 -	TBool operator!=(THTTPFilterRegistration& aThat);
    1.61 -
    1.62 - public:
    1.63 -	/// The position
    1.64 -	//##ModelId=3C4C187D01F6
    1.65 -	TInt				iPosition; // This MUST be first!
    1.66 -	/// The filter
    1.67 -	//##ModelId=3C4C187D01E4
    1.68 -	MHTTPFilter*		iFilter;
    1.69 -	/// The event it's interested in (or any)
    1.70 -	//##ModelId=3C4C187D01D8
    1.71 -	THTTPEvent			iEvent;
    1.72 -	/// The header it's interested in (or any)
    1.73 -	//##ModelId=3C4C187D01C6
    1.74 -	RStringTokenF	iHeader;
    1.75 -	/// The status it's interested in (or any)
    1.76 -	//##ModelId=3C4C187D01BC
    1.77 -	TInt				iStatus;
    1.78 -	/// The name of the filter
    1.79 -	//##ModelId=3C4C187D01B2
    1.80 -	RStringTokenF    iName;
    1.81 -	/// The handle of the filter
    1.82 -	//##ModelId=3C4C187D01A8
    1.83 -	TInt                iHandle;
    1.84 -	};
    1.85 -
    1.86 -inline THTTPFilterRegistration::THTTPFilterRegistration()
    1.87 -		: iEvent(THTTPEvent::EAll)
    1.88 -	{
    1.89 -	}
    1.90 -
    1.91 -inline THTTPFilterRegistration::THTTPFilterRegistration(MHTTPFilter& aFilter, 
    1.92 -														THTTPEvent aEvent,
    1.93 -														RStringTokenF aHeader,
    1.94 -														TInt aStatusCode, 
    1.95 -														TInt aPosition,
    1.96 -														RStringTokenF aName,
    1.97 -														TInt aHandle)
    1.98 -		:iPosition(aPosition), iFilter(&aFilter), iEvent(aEvent),
    1.99 -	iHeader(aHeader), iStatus(aStatusCode) , iName(aName), iHandle(aHandle)
   1.100 -	{
   1.101 -	}
   1.102 -
   1.103 -
   1.104 -
   1.105 -#endif // __THTTPFILTERREGISTRATION_H__