#include <mw/concnf.h>
Link against: conarc.lib
class CCnaConvInfoFileReader2 : public CCnaConvInfoFile2 |
Public Member Functions | |
---|---|
IMPORT_C CCnaConverter * | AtL(TInt) |
IMPORT_C TInt | Count() |
IMPORT_C CCnaConvInfoFileReader2 * | NewL(const TDesC &) |
IMPORT_C CCnaConvInfoFileReader2 * | NewLC(const TDesC &) |
IMPORT_C void | RestoreL() |
Inherited Attributes | |
---|---|
CCnaConvInfoFile2::iConverters | |
CCnaConvInfoFile2::iFs | |
CCnaConvInfoFile2::iResourceFile |
Encapsulates a collection of converter properties (CCnaConverter) read from a converter information (.rsc) file.
IMPORT_C CCnaConverter * | AtL | ( | TInt | anIndex | ) |
Constructs and returns a new CCnaConverter object that is a copy of the converter at the specified index.
Parameters | |
---|---|
anIndex | An index into the object's array of converters. The array is created by calling RestoreL(). The index must be valid, or a panic occurs. |
IMPORT_C TInt | Count | ( | ) |
Gets the number of converters that were restored from the .rsc file.
This function returns zero if RestoreL() has not been called.
IMPORT_C CCnaConvInfoFileReader2 * | NewL | ( | const TDesC & | aFileName | ) | [static] |
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
Parameters | |
---|---|
aFileName | The .rsc file name. |
IMPORT_C CCnaConvInfoFileReader2 * | NewLC | ( | const TDesC & | aFileName | ) | [static] |
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
Parameters | |
---|---|
aFileName | The .rsc file name. |