1.1 --- a/epoc32/include/http/rhttpfiltercollection.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/http/rhttpfiltercollection.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,91 @@
1.4 -rhttpfiltercollection.h
1.5 +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +
1.21 +
1.22 +/**
1.23 + @file RHTTPFilterCollection.h
1.24 + @warning : This file contains Rose Model ID comments - please do not delete
1.25 +*/
1.26 +
1.27 +#ifndef __RHTTPFILTERCOLLECTION_H__
1.28 +#define __RHTTPFILTERCOLLECTION_H__
1.29 +
1.30 +// System includes
1.31 +#include <e32std.h>
1.32 +#include <http/thttpevent.h>
1.33 +#include <stringpool.h>
1.34 +
1.35 +// Forward declarations
1.36 +class CHTTPSession;
1.37 +class RHTTPSession;
1.38 +class MHTTPFilter;
1.39 +class THTTPFilterIterator;
1.40 +
1.41 +
1.42 +//##ModelId=3C4C187C02B3
1.43 +class RHTTPFilterCollection
1.44 +/**
1.45 +A Handle on the filter collection in a session. It provides
1.46 +facilities for adding and deleting filters and for querying what
1.47 +filters are installed.
1.48 +@publishedAll
1.49 +@released
1.50 +@see RHTTPSession::FilterCollection
1.51 +@see MHTTPFilter::TPositions
1.52 +*/
1.53 + {
1.54 + public:
1.55 + //##ModelId=3C4C187C02F9
1.56 + inline RHTTPFilterCollection();
1.57 +
1.58 + //##ModelId=3C4C187C02E5
1.59 + IMPORT_C void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent,
1.60 + RStringF aHeader, TInt aStatusCode,
1.61 + TInt aPosition, RStringF aName);
1.62 +
1.63 +
1.64 + //##ModelId=3C4C187C02F1
1.65 + IMPORT_C void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent,
1.66 + TInt aPosition, RStringF aName);
1.67 +
1.68 + //##ModelId=3C4C187C02DF
1.69 + IMPORT_C TBool CanChangeFilters() const;
1.70 +
1.71 + //##ModelId=3C4C187C02DD
1.72 + IMPORT_C void RemoveFilter(RStringF aFilter);
1.73 +
1.74 + //##ModelId=3C4C187C02DB
1.75 + IMPORT_C THTTPFilterIterator Query(RStringF aName = RStringF());
1.76 +
1.77 + //##ModelId=3C4C187C02D1
1.78 + inline RHTTPSession Session() const;
1.79 +
1.80 + private:
1.81 + friend class CHTTPSession;
1.82 + friend class RHTTPSession;
1.83 +
1.84 + //##ModelId=3C4C187C02C9
1.85 + CHTTPSession* iImplementation;
1.86 + };
1.87 +
1.88 +/** Constructor
1.89 + */
1.90 +inline RHTTPFilterCollection::RHTTPFilterCollection()
1.91 + : iImplementation(NULL)
1.92 + {
1.93 + }
1.94 +
1.95 +#endif // __RHTTPFILTERCOLLECTION_H__