MProtocolSearchFeatureDataHost Class Reference

class MProtocolSearchFeatureDataHost : public MXIMPBase

Interface for managing cached search information.

Interface is used by protocol adaptations to manage search related information

This interface is implemented by Search plugin Protocol adaptation can obtain reference to this interface from

Inherits from

Constructor & Destructor Documentation

~MProtocolSearchFeatureDataHost()

~MProtocolSearchFeatureDataHost()[protected, inline, virtual]

Protected destructor. Object instancies can't be deleted via this interface.

Member Functions Documentation

HandleSearchKeysL(MXIMPObjectCollection *)

TXIMPRequestId HandleSearchKeysL(MXIMPObjectCollection *aSearchKeyInfos)[pure virtual]

Notifies Search plugin for supported search Keys and serach labels information.

Search plugin takes ownership of the argument(s), if method succeeds without a leave.

leave
KErrNoMemory if failed to allocate memory.
leave
KErrArgument if NULL argument(s) were provided.

Parameters

MXIMPObjectCollection * aSearchKeyInfos- List of search key info objects

HandleSearchResultsL(MXIMPIdentity *, MXIMPObjectCollection *)

TXIMPRequestId HandleSearchResultsL(MXIMPIdentity *aSearchId,
MXIMPObjectCollection *aSearchResults
)[pure virtual]

Notifies Search plugin for search result information.

Search plugin takes ownership of the argument(s), if method succeeds without a leave.

leave
KErrNoMemory if failed to allocate memory.
leave
KErrArgument if NULL argument(s) were provided.

Parameters

MXIMPIdentity * aSearchIdsearch id of the search request
MXIMPObjectCollection * aSearchResults-List of results( MsearchInfos), NULL if none.