#include <mw/msvapi.h>
Link against: msgs_autoshutdown.lib
class MessageServer |
Public Member Enumerations | |
---|---|
enum | TMsgDcmoSettings { ESmsMms, EEmail } |
Public Member Functions | |
---|---|
IMPORT_C TInt | CurrentDriveL(RFs &) |
IMPORT_C TBool | DriveContainsStore(RFs &, TInt) |
IMPORT_C TBool | IsMessageStoreDrivePresentL(RFs &) |
IMPORT_C TInt | MessageSendReceiveAllowed(TMsgDcmoSettings) |
IMPORT_C TMsvId | NullUidValue() |
IMPORT_C TVersion | Version() |
Provides various static information functions relating to the Message Server.
See also: TDriveNumber
IMPORT_C TInt | CurrentDriveL | ( | RFs & | aFs | ) | [static] |
Returns the drive that the Message Server is using to store messages.
See also: TDriveNumber
Parameters | |
---|---|
aFs | File server session |
Capability | |
---|---|
AllFiles | If not within the message server process |
None | If within the message server process |
Checks if the specified drive has a Message Server index on it.
See also: TDriveNumber
Parameters | |
---|---|
aFs | File server session |
aDrive | Drive to check, specified by a TDriveNumber value |
Capability | |
---|---|
AllFiles | If not within the message server process |
None | If within the message server process |
IMPORT_C TBool | IsMessageStoreDrivePresentL | ( | RFs & | aFs | ) | [static] |
Checks to see if the currently selected drive contains the correct mail store.
If the message store is present on an external drive, we have to check if the same drive is mounted or not before storing the mail.
Capability | |
---|---|
None |
IMPORT_C TInt | MessageSendReceiveAllowed | ( | TMsgDcmoSettings | aDcmoSettings | ) | [static] |
Checks to see if the the sending of sms/mms or email is allowed.
IMPORT_C TMsvId | NullUidValue | ( | ) | [static] |
Returns the predefined message entry ID null value.
IMPORT_C TVersion | Version | ( | ) | [static] |
Returns the Message Server version number.