| 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
| Protected Member Functions | |
|---|---|
| TInt | Info(TNifIfInfo &, TInt) |
| CNifIfBase * | NewInterfaceL(const TDesC &) |
| IMPORT_C CNifIfBase * | NewInterfaceL(const TDesC &, MNifIfNotify *) |
| Inherited Attributes | |
|---|---|
| CNifFactory::iAsyncDtor | |
| CNifFactory::iLib | |
| TInt | Info | ( | TNifIfInfo & | aInfo, |
| TInt | aIndex | |||
| ) | const [protected, pure virtual] | |||
Return information about modules within this nif KErrNone if successful; otherwise, one of the standard Symbian OS error codes
| TNifIfInfo & aInfo | On return, contains information about a module within the nif |
| TInt aIndex | An index into CNifIfBase/CNifIfLink-derived objects in the nif, starting from 0. It is up to the nif how it assigns indices to objects. |
| 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
The class returned should actually be a CNifIfLink-derived object
| const TDesC & aName | A protocol name supported by the nif |
| IMPORT_C CNifIfBase * | NewInterfaceL | ( | const TDesC & | aName, |
| MNifIfNotify * | aNotify | |||
| ) | [protected, virtual] | |||
| const TDesC & aName | |
| MNifIfNotify * aNotify |