class CReadFaxFile : public CBase |
Opens a fax file for reading.
The class provides the functionality to open and close a fax file. The ability to read individual fax pages is provided by the CReadFaxPages data member, which is created when the file is opened.
In pre-v5.1 versions of Symbian OS, the import library was faxst2.lib.
Public Member Functions | |
---|---|
~CReadFaxFile () | |
IMPORT_C void | Close () |
IMPORT_C CReadFaxFile * | NewL () |
IMPORT_C void | OpenL (const TDesC &) |
Protected Member Functions | |
---|---|
CReadFaxFile () | |
void | ConstructL () |
void | DoOpenL (const TDesC &) |
Public Attributes | |
---|---|
CReadFaxPages * | iReadFaxPages |
Private Attributes | |
---|---|
CDirectFileStore * | iFileStore |
RFs | iFs |
IMPORT_C | ~CReadFaxFile | ( | ) |
Destructor.
Closes the session with the file server, and frees all resources owned by the object, prior to its destruction.
IMPORT_C void | Close | ( | ) |
Closes the fax file, and deletes the resources owned by the object.
void | DoOpenL | ( | const TDesC & | aFileName | ) | [protected] |
const TDesC & aFileName |
IMPORT_C CReadFaxFile * | NewL | ( | ) | [static] |
Constructs a CReadFaxFile object, which offers the public API for opening a fax file for reading.
As part of the construction process, the object starts a session with the file server.
IMPORT_C void | OpenL | ( | const TDesC & | aFileName | ) |
Opens a fax file for reading.
The function also allocates memory to create a CReadFaxPages object - which is pointed to by the iReadFaxPages class data member. This class defines the API for reading individual pages from the file store.
Fax files which have been opened should be paired with a Close() function.
const TDesC & aFileName | The name of the fax file. |
CReadFaxPages * | iReadFaxPages |
A pointer to the object which can be used to access the fax pages stored in the file. Memory is allocated for the object when the fax file is opened.
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.