|
|
|
Location:
fxut.h
Link against: fxcm.lib
TMTMFaxSettings
Supported from 6.0
Settings to be used by the Fax MTM when it connects to a fax machine.
Objects of this type are stored in a stream within the CMsvStore store that is associated with the Fax service entry, and stored and restored using its StoreL() and RestoreL() functions.
|
Defined in TMTMFaxSettings:
EFaxNoPartialResend, EFaxNoProgressInEntry, EFaxNoUnRenderOnSend, EFaxSentFaxesNotReadOnly, EFaxWatcherDisabled, ExternalizeL(), InternalizeL(), KFaxSettingsClearFlag, KFaxSettingsUnusedFlag, MessageLogFolder(), PartialResend(), ProgressInEntry(), Reset(), RestoreL(), SentFaxesReadOnly(), SetMessageLogFolder(), SetPartialResend(), SetProgressInEntry(), SetSentFaxesReadOnly(), SetUnRenderOnSend(), SetVersion(), SetWatcherEnabled(), StoreL(), TFaxSettingsFlags, TMTMFaxSettings(), UnRenderOnSend(), Version(), WatcherEnabled(), iFlags, iMessageLogFolder, iReserved1, iReserved2, iUserName, iVersion, operator=()
Inherited from TFaxSettings:
iFaxClass,
iFaxId,
iFaxOnDemandDelay,
iMaxSpeed,
iMinSpeed,
iPreferredCompression,
iPreferredECM,
iPreferredResolution,
iVerbose
TMTMFaxSettings();
Default constructor.
Initialises all member data to their default values. These are:
user name: NULL
flags: 0
version: KFaxSettingsVersion
message log folder: KMsvSentEntryId
fax number (ID): NULL
verbose logging: true
preferred resolution: EFaxFine
preferred compression: EModifiedHuffman
maximum speed: 14400
minimum speed: 2400
fax-on-demand delay: 2
fax class: EClassAuto
void ExternalizeL(RWriteStream& aWriteStream) const;
Externalises the Fax MTM settings to a write stream.
|
void InternalizeL(RReadStream& aReadStream);
Internalises the Fax MTM settings from a read stream.
|
void StoreL(CMsvStore& aMsvStore) const;
Stores the Fax MTM settings to an service entry store.
The CMsvStore has to be opened for edit before the
settings are saved.
|
void RestoreL(const CMsvStore& aMessageStore);
Restores the Fax MTM settings from a service entry store.
|
void Reset();
Resets the Fax MTM settings to their default values.
For the default values, see the description for the constructor.
const TMsvId MessageLogFolder() const;
Gets the folder to which messages are moved after they have been sent.
By default this is set to the Sent folder
(KMsvSentEntryId).
|
void SetMessageLogFolder(TMsvId aMessageLogFolder);
Sets the folder to which messages are moved after they have been sent.
|
const TUint16 Version() const;
Gets the version number of the fax settings stream.
This enables code to identify message stores created by
previous releases of the Message engine. By default, this number is
KFaxSettingsVersion.
|
void SetVersion(const TUint16 aVersion);
Sets the version number of this fax settings stream.
This enables code to identify message stores created by previous releases of the Message engine.
|
TBool ProgressInEntry() const;
Tests if the entry for a fax message being sent is regularly updated to identify how many pages of the fax have been transmitted.
If this flag is set, the RenderingComplete() and
SendingPage() settings in the TMsvFaxEntry are updated
while the fax is sent.
Fax transmissions will be slower when this settings is switched on.
This is true by default.
|
void SetProgressInEntry(TBool aProgress);
Sets if the entry for a fax message being sent should be regularly updated to identify how many pages of the fax have been transmitted.
If this flag is set, the RenderingComplete() and
SendingPage() settings in the TMsvFaxEntry are updated
while the fax is sent.
|
TBool PartialResend() const;
Tests if partial resending is enabled.
Partial resending means that if an error occurs when sending a fax, the last successfully sent page is recorded with the recipient details. If the fax is then resent, only those pages that were not sent previously will be retransmitted.
This is true by default.
|
void SetPartialResend(TBool aResend);
Sets a flag that indicates whether partial resending should be used.
Partial resending means that if an error occurs when sending a fax, the last successfully sent page is recorded with the recipient details. If the fax is then resent, only those pages that were not sent previously will be retransmitted.
If the Partial Resend flag is not set, partial resending is disabled and all the pages of a failed fax are resent, whether they were previously sent successfully or not.
|
TBool UnRenderOnSend() const;
Tests if faxes are unrendered when they have been successfully sent to all recipients.
Rendered fax images can consume a lot of space in the file system, so better use can be made of limited space if faxes are unrendered when the image is no longer needed.
This returns true by default.
|
void SetUnRenderOnSend(TBool aUnRender);
Sets a flag that indicates whether faxes should be unrendered when they have been successfully sent to all recipients.
Rendered fax images can consume a lot of space in the file system, so better use can be made of limited space if faxes are unrendered when the image is no longer needed.
|
inline TBool WatcherEnabled() const;
Tests if the fax watcher is enabled.
The fax watcher is a separate background thread. It listens to the telephony interfaces to identify incoming fax calls, and, when a call is detected, loads the fax server MTM and receives the fax, placing it in the inbox.
|
void SetWatcherEnabled(TBool aEnabled);
Enables or disables the fax watcher.
|
TBool SentFaxesReadOnly() const;
Tests if fax entries are marked as read-only after they have been successfully sent.
|
void SetSentFaxesReadOnly(TBool aReadOnly);
Sets if fax entries should be marked as read-only after they have been successfully sent.
By default this flag is set to true.
|
TMTMFaxSettings& operator=(const TMTMFaxSettings& aFaxSettings);
Overloaded assignment operator.
|
|
TFaxSettingsFlags
This member is internal and not intended for use.
|