CPluginValidator Class Reference

class CPluginValidator : public CActive

Class used to maintain required ECOM plugins implementations

cpclient.dll
Since
S60 v 5.0

Inherits from

Constructor & Destructor Documentation

CPluginValidator(TUid, TAny *)

CPluginValidator(TUidaUid,
TAny *aParameter
)[protected]

C++ default constructor.

Parameters

TUid aUid
TAny * aParameter

~CPluginValidator()

~CPluginValidator()[virtual]

Desctructor.

Member Functions Documentation

CleanPluginsTable()

voidCleanPluginsTable()[protected]

Cleans plugins table;

ConstructL()

voidConstructL()[protected]

Perform the second phase construction of a CPluginValidator object.

DestroyPlugin(TInt)

voidDestroyPlugin(TIntaIndex)[protected]

Parameters

TInt aIndex

DoCancel()

voidDoCancel()[protected, virtual]

From CActive, DoCancel. Implements cancellation of an outstanding request.

GetCount()

IMPORT_C TIntGetCount()

Gets number of plugins

GetImplementation(TUid)

IMPORT_C TAny *GetImplementation(TUidaUid)

Gets plugin with provided UID

Parameters

TUid aUidrequired plugin

GetImplementation(TInt)

IMPORT_C TAny *GetImplementation(TIntaIndex)

Gets plugin with provided index

Parameters

TInt aIndexindex of plugin

LoadPluginL(TPluginInfo &)

voidLoadPluginL(TPluginInfo &aPluginInfo)[protected, virtual]

Loads ECOM plugins

Parameters

TPluginInfo & aPluginInfo

ManagePluginsL()

voidManagePluginsL()[protected, virtual]

Loads or destroys plugins

NewL(TUid, TAny *)

IMPORT_C CPluginValidator *NewL(TUidaUid,
TAny *aParameter = NULL
)[static]

Two-phased constructor.

Parameters

TUid aUid
TAny * aParameter = NULL

NewLC(TUid, TAny *)

IMPORT_C CPluginValidator *NewLC(TUidaUid,
TAny *aParameter = NULL
)[static]

Two-phased constructor.

Parameters

TUid aUid
TAny * aParameter = NULL

PresentInArrayL(TPluginInfo, const RImplInfoPtrArray &)

TBool PresentInArrayL(TPluginInfoaPluginInfo,
const RImplInfoPtrArray &aInfoArray
)[protected]

Parameters

TPluginInfo aPluginInfo
const RImplInfoPtrArray & aInfoArray

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]

From CActive, RunError. Method called when leave occured in RunL

Parameters

TInt aError

RunL()

voidRunL()[protected, virtual]

From CActive, RunL. Handles the active object s request completion event

Member Data Documentation

TAny * iParameter

TAny *iParameter[protected]

Parameter to pass to the object creation method.

RArray< TPluginInfo > iPluginArray

RArray< TPluginInfo >iPluginArray[protected]

Array containing plugins Own.

REComSession * iSession

REComSession *iSession[protected]

ECOM handler Own.

const TUid iUid

const TUidiUid[protected]

UID of the interface