| class CNifAgentFactory : public CNifFactory |
The factory object used to create new instances of a agent. An agent is packaged in a dll - nifman will call this class to create new instances of a agent.
since v9.5. Use MCPRs/CPRs/SCPRs instead of agents.
| Protected Member Functions | |
|---|---|
| TInt | Info(TNifAgentInfo &, TInt) |
| CNifAgentBase * | NewAgentL(const TDesC &) |
| Inherited Attributes | |
|---|---|
| CNifFactory::iAsyncDtor | |
| CNifFactory::iLib | |
| TInt | Info | ( | TNifAgentInfo & | aInfo, |
| TInt | aIndex | |||
| ) | const [protected, pure virtual] | |||
Retrieve information about an agent KErrNone, if successful; or one of the standard Symbian OS error codes
| TNifAgentInfo & aInfo | On return, contains information about the agent |
| TInt aIndex | An index into CNifAgentBase-derived objects in the agent, starting from 0. It is up to the agent how it assigns indices to objects. |
| CNifAgentBase * | NewAgentL | ( | const TDesC & | aName | ) | [protected, pure virtual] |
Create a new instance of the agent specified by aName A pointer to a new instance of the agent
| const TDesC & aName | The name of the agent to be created |