CSearchPlugin Class Reference

class CSearchPlugin : public CBase

Search plug-ins (Ecom) interface definition.

Inherits from

Constructor & Destructor Documentation

~CSearchPlugin()

~CSearchPlugin()[inline, virtual]

Destructor

Member Functions Documentation

ContentSearcherL(const RArray< TUid > &, const CSearchCondition &, MSearchPluginObserver &)

MSearchContentSearcher *ContentSearcherL(const RArray< TUid > &aContentIdArray,
const CSearchCondition &aCondition,
MSearchPluginObserver &aObserver
)[pure virtual]

Get a content searcher.

Parameters

const RArray< TUid > & aContentIdArrayContent to be searched for.
const CSearchCondition & aConditionThe conditions that must be fullfilled.
MSearchPluginObserver & aObserver

GetSupportedContentL(RPointerArray< CSearchContent > &)

voidGetSupportedContentL(RPointerArray< CSearchContent > &aContent)[pure virtual]

Returns the supported content of this plugin.

Parameters

RPointerArray< CSearchContent > & aContentThe content that this plugin can search.

IsSupportedContent(TUid)

TBool IsSupportedContent(TUidaContentId)[pure virtual]

Indicates if this plugin supports the searching of the given content.

Parameters

TUid aContentIdId of the search content. Can be either class or a folder.

LaunchApplicationL(const TDesC8 &)

voidLaunchApplicationL(const TDesC8 &aLaunchInfo)[pure virtual]

Launches a viewer/editor application for the given document id.

Parameters

const TDesC8 & aLaunchInfo

ListAllImplementationsL(RImplInfoPtrArray &)

voidListAllImplementationsL(RImplInfoPtrArray &aImplInfoArray)[static, inline]

Lists all implementations which satisfy this ecom interface.

Parameters

RImplInfoPtrArray & aImplInfoArrayOn return, contains the list of available implementations

NewL(TUid)

CSearchPlugin *NewL(TUidaImpUid)[static, inline]

Ecom interface static factory method implementation.

Parameters

TUid aImpUidEcom's implementation uid

NewLC(TUid)

CSearchPlugin *NewLC(TUidaImpUid)[static, inline]

Ecom interface static factory method implementation.

Parameters

TUid aImpUidEcom's implementation uid

PluginId()

TUid PluginId()const [inline]

Gets the plugin id.

SearchPluginExtensionL(TUid)

TAny *SearchPluginExtensionL(TUid)[inline, virtual]

Returns the extension for this interface. If no extension is available, return NULL.

Parameters

TUid

ServiceId()

TUid ServiceId()const [inline, virtual]

Gets the service id.

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]

TInt32 iExtension1

TInt32 iExtension1[private]

TInt32 iExtension2

TInt32 iExtension2[private]

TUid iPluginId

TUid iPluginId[private]