MProtocolSearch Class Reference

class MProtocolSearch : public MXIMPBase

Interface for Search object. Interface must be implemented by a XIMP Framework protocol plug-ins.

This interface defines actions that XIMP Framework requests from a Search protocol connection to execute search related tasks.

Inherits from

Constructor & Destructor Documentation

~MProtocolSearch()

~MProtocolSearch ( ) [protected, inline, virtual]

Protected destructor. MProtocolSearch instancies can't be destroyed via this interface.

Member Functions Documentation

DoGetSearchKeysL(TXIMPRequestId)

void DoGetSearchKeysL ( TXIMPRequestId aReqId ) [pure virtual]

Requests the protocol to Stop search.

Parameters

TXIMPRequestId aReqId request ID identifying the issued request

DoSearchL(const MXIMPIdentity &, const RPointerArray< MSearchElement > &, TInt, TXIMPRequestId)

void DoSearchL ( const MXIMPIdentity & aSearchId,
const RPointerArray < MSearchElement > & aObjs,
TInt aSearchLimit,
TXIMPRequestId aReqId
) [pure virtual]

Requests the protocol to start search.

Parameters

const MXIMPIdentity & aSearchId Identification for a search.
const RPointerArray < MSearchElement > & aObjs Defines what is to be searched.
TInt aSearchLimit How many results client wants at a time.
TXIMPRequestId aReqId request ID identifying the issued request.