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 ( TUid aUid,
TAny * aParameter
) [protected]

C++ default constructor.

Parameters

TUid aUid
TAny * aParameter

~CPluginValidator()

~CPluginValidator ( ) [virtual]

Desctructor.

Member Functions Documentation

CleanPluginsTable()

void CleanPluginsTable ( ) [protected]

Cleans plugins table;

ConstructL()

void ConstructL ( ) [protected]

Perform the second phase construction of a CPluginValidator object.

DestroyPlugin(TInt)

void DestroyPlugin ( TInt aIndex ) [protected]

Parameters

TInt aIndex

DoCancel()

void DoCancel ( ) [protected, virtual]

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

GetCount()

IMPORT_C TInt GetCount ( )

Gets number of plugins

GetImplementation(TUid)

IMPORT_C TAny * GetImplementation ( TUid aUid )

Gets plugin with provided UID

Parameters

TUid aUid required plugin

GetImplementation(TInt)

IMPORT_C TAny * GetImplementation ( TInt aIndex )

Gets plugin with provided index

Parameters

TInt aIndex index of plugin

LoadPluginL(TPluginInfo &)

void LoadPluginL ( TPluginInfo & aPluginInfo ) [protected, virtual]

Loads ECOM plugins

Parameters

TPluginInfo & aPluginInfo

ManagePluginsL()

void ManagePluginsL ( ) [protected, virtual]

Loads or destroys plugins

NewL(TUid, TAny *)

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

Two-phased constructor.

Parameters

TUid aUid
TAny * aParameter = NULL

NewLC(TUid, TAny *)

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

Two-phased constructor.

Parameters

TUid aUid
TAny * aParameter = NULL

PresentInArrayL(TPluginInfo, const RImplInfoPtrArray &)

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

Parameters

TPluginInfo aPluginInfo
const RImplInfoPtrArray & aInfoArray

RunError(TInt)

TInt RunError ( TInt aError ) [protected, virtual]

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

Parameters

TInt aError

RunL()

void RunL ( ) [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 TUid iUid [protected]

UID of the interface