1.1 --- a/epoc32/include/http/rhttpfiltercollection.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,91 +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 RHTTPFilterCollection.h
1.23 - @warning : This file contains Rose Model ID comments - please do not delete
1.24 -*/
1.25 -
1.26 -#ifndef __RHTTPFILTERCOLLECTION_H__
1.27 -#define __RHTTPFILTERCOLLECTION_H__
1.28 -
1.29 -// System includes
1.30 -#include <e32std.h>
1.31 -#include <http/thttpevent.h>
1.32 -#include <stringpool.h>
1.33 -
1.34 -// Forward declarations
1.35 -class CHTTPSession;
1.36 -class RHTTPSession;
1.37 -class MHTTPFilter;
1.38 -class THTTPFilterIterator;
1.39 -
1.40 -
1.41 -//##ModelId=3C4C187C02B3
1.42 -class RHTTPFilterCollection
1.43 -/**
1.44 -A Handle on the filter collection in a session. It provides
1.45 -facilities for adding and deleting filters and for querying what
1.46 -filters are installed.
1.47 -@publishedAll
1.48 -@released
1.49 -@see RHTTPSession::FilterCollection
1.50 -@see MHTTPFilter::TPositions
1.51 -*/
1.52 - {
1.53 - public:
1.54 - //##ModelId=3C4C187C02F9
1.55 - inline RHTTPFilterCollection();
1.56 -
1.57 - //##ModelId=3C4C187C02E5
1.58 - IMPORT_C void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent,
1.59 - RStringF aHeader, TInt aStatusCode,
1.60 - TInt aPosition, RStringF aName);
1.61 -
1.62 -
1.63 - //##ModelId=3C4C187C02F1
1.64 - IMPORT_C void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent,
1.65 - TInt aPosition, RStringF aName);
1.66 -
1.67 - //##ModelId=3C4C187C02DF
1.68 - IMPORT_C TBool CanChangeFilters() const;
1.69 -
1.70 - //##ModelId=3C4C187C02DD
1.71 - IMPORT_C void RemoveFilter(RStringF aFilter);
1.72 -
1.73 - //##ModelId=3C4C187C02DB
1.74 - IMPORT_C THTTPFilterIterator Query(RStringF aName = RStringF());
1.75 -
1.76 - //##ModelId=3C4C187C02D1
1.77 - inline RHTTPSession Session() const;
1.78 -
1.79 - private:
1.80 - friend class CHTTPSession;
1.81 - friend class RHTTPSession;
1.82 -
1.83 - //##ModelId=3C4C187C02C9
1.84 - CHTTPSession* iImplementation;
1.85 - };
1.86 -
1.87 -/** Constructor
1.88 - */
1.89 -inline RHTTPFilterCollection::RHTTPFilterCollection()
1.90 - : iImplementation(NULL)
1.91 - {
1.92 - }
1.93 -
1.94 -#endif // __RHTTPFILTERCOLLECTION_H__