CMsgBioControlFactory Class Reference
class CMsgBioControlFactory : public CBase |
Bio control factory. Gets needed information from bif files. Remember to keep the bio factory alive, and destroy it after destroying the Bio Control. Do not call the bio control creation methods more than once for a single instance of the factory.
Constructor & Destructor Documentation
CMsgBioControlFactory()
CMsgBioControlFactory | ( | ) | [private] |
Default constructor hidden away.
CMsgBioControlFactory(const CMsgBioControlFactory &)
Copy constructor hidden away.
~CMsgBioControlFactory()
IMPORT_C | ~CMsgBioControlFactory | ( | ) | |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
CreateControlL(MMsgBioControlObserver &, const TUid &, TMsgBioMode, TMsvId, CMsvSession *)
Creates a Bio control. This version reads the message from the server. Do not call the bio control creation methods more than once for a single instance of the factory.
- Exceptions
EMEUErrArgument |
if aId or aSession is null or aEditorOrViewerMode has invalid value.
|
Parameters
MMsgBioControlObserver & aBioControlObserver | Reference to the Bio control observer. |
const TUid & aBioMsgType | The type of Bio message. |
TMsgBioMode aEditorOrViewerMode | Specifies whether the new Bio control will be in Editor or Viewer mode. |
TMsvId aId | Id of the message. |
CMsvSession * aSession | Handle to Message Server session. The ownership is not transferred. |
CreateControlL(MMsgBioControlObserver &, const TUid &, TMsgBioMode, const RFile &)
Creates a Bio Control. This version creates a file based Bio Control. Do not call the bio control creation methods more than once for a single instance of the factory.
- Exceptions
EMEUErrArgument |
if aEditorOrViewerMode has undefined value
|
Parameters
MMsgBioControlObserver & aBioControlObserver | Reference to the Bio control observer. |
const TUid & aBioMsgType | The type of Bio message. |
TMsgBioMode aEditorOrViewerMode | Specifies whether the new Bio control will be in Editor or Viewer mode. |
const RFile & aFile | The file handle |
DoCreateControlL(MMsgBioControlObserver &, const TUid &, TMsgBioMode, TMsvId, CMsvSession *, const RFile *)
This does the actual creating of the control.
Parameters
MMsgBioControlObserver & aBioControlObserver | Reference to the Bio control observer. |
const TUid & aBioMsgType | The type of Bio message. |
TMsgBioMode aEditorOrViewerMode | Specifies whether the new Bio control will be in Editor or Viewer mode. |
TMsvId aId | Id of the message. |
CMsvSession * aSession | Handle to Message Server session. |
const RFile * aFile | input file handle. |
operator=(const CMsgBioControlFactory &)
Assignment operator hidden away.
Member Data Documentation
RLibrary
iControlDllLibrary
The library where the Bio control is located.
TFileName
iFileName
A filename for file based bio controls.
RFs
iFs
File Server Session It is opened during construction of factory, and closed during destruction of factory.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.