CNifIfFactory Class Reference

class CNifIfFactory : public CNifFactory

The factory object used to create new instances of a nif. A nif is packaged in a dll - nifman will call this class to create new instances of a nif.

v5.0

Inherits from

Member Functions Documentation

Info(TNifIfInfo &, TInt)

TInt Info(TNifIfInfo &aInfo,
TIntaIndex
)const [protected, pure virtual]

Return information about modules within this nif KErrNone if successful; otherwise, one of the standard Symbian OS error codes

Parameters

TNifIfInfo & aInfoOn return, contains information about a module within the nif
TInt aIndexAn index into CNifIfBase/CNifIfLink-derived objects in the nif, starting from 0. It is up to the nif how it assigns indices to objects.

NewInterfaceL(const TDesC &)

CNifIfBase *NewInterfaceL(const TDesC &aName)[protected, pure virtual]

Create a new instance of the nif contained within this DLL A CNifIfBase-derived object of the requested type

Note:

The class returned should actually be a CNifIfLink-derived object

Parameters

const TDesC & aNameA protocol name supported by the nif

NewInterfaceL(const TDesC &, MNifIfNotify *)

IMPORT_C CNifIfBase *NewInterfaceL(const TDesC &aName,
MNifIfNotify *aNotify
)[protected, virtual]

Parameters

const TDesC & aName
MNifIfNotify * aNotify