|
|
|
Location:
http\TFilterConfigurationIter.h
Link against: http.lib
class TFilterConfigurationIterator
Supported from 7.0
Allows a client to navigate, install, uninstall and query the filter list.
The filters that are visible in this list are only the implicit and explicit filters declared as plugins.
The iterator must be initialised using First() and the returned error code checked before any other operations are called.
Objects of this class are created by the session: see MHTTPFilterCreationCallback::ConfigureSessionFiltersL().
Defined in TFilterConfigurationIterator:
AtEnd(), AtStart(), CurrentFilterInformation(), FindByDataType(), First(), InstallCurrentFilter(), Next(), TFilterConfigurationIterator(), UninstallCurrentFilter(), iCurrentFilterIndex, iFilterCount, iFilterInfoList, iSession, ~TFilterConfigurationIterator()
TInt First();
Sets the current filter to the first filter in the list.
This function must be used initially to set the current filter and the returned error code must be noted prior to using any of the methods that query or modify the current filter.
|
TInt Next();
Sets the current filter to the next filter in the list.
|
TBool AtStart();
Tests if the current filter is the first filter in the list.
The function panics if the iterator has not been initialised using First().
|
TBool AtEnd();
Tests if the current filter is the last filter in the list.
The function panics if the iterator has not been initialised using First().
|
TInt FindByDataType(const TDesC8& aDataType);
Finds the first filter in the list for a specified data type.
The function sets the current filter to the filter that matches the data type, or if not found, the current filter does not change. This function always begins its search from the beginning of the list.
|
|
const TFilterInformation CurrentFilterInformation() const;
Gets information about the current filter.
The information returned contains the display name, data type, version, UID, category and install status.
The function panics if the iterator has not been initialised using First().
|
TInt InstallCurrentFilter() const;
Installs the current filter.
This function will panic if a current filter is not set.
|
TInt UninstallCurrentFilter() const;
Uninstalls the current filter.
This function panics if a current filter is not set.
|
private: TFilterConfigurationIterator(CHTTPSession* aSession);
This is internal and not intended for use.
private: RPointerArray<TSessionFilterInfo>& iFilterInfoList;
This is internal and not intended for use.
private: TInt iFilterCount;
This is internal and not intended for use.