MNcnInternalNotification Class Reference

class MNcnInternalNotification : public MNcnNotification

S60-internal ECom notification API towards NcnList. This class extends the public notification API declared by MNcnNotification.

Inherits from

Constructor & Destructor Documentation

~MNcnInternalNotification()

~MNcnInternalNotification()[inline, virtual]

Destructor.

Member Functions Documentation

CancelMarkUnread()

voidCancelMarkUnread()[pure virtual]

Cancels an outstanding MarkUnread request.

CreateMNcnInternalNotificationL()

MNcnInternalNotification *CreateMNcnInternalNotificationL()[static, inline]

ECom implementation class factory method. Caller takes the ownership of the created object. If interface needs to be pushed into CleanupStack, remember to use CleanupStackDeletePushL() function! DO NOT USE CleanupStack::PushL()!!

MarkUnread(const TNcnUnreadRequestType)

TInt MarkUnread(const TNcnUnreadRequestTypeaRequest)[pure virtual]

Called by component wanting to make a request about marking certain new messages as unread.

Parameters

const TNcnUnreadRequestType aRequestThe request maker type (method caller), identifies what type of messages should be marked as unread and whether there has to be made checks for messages.

MarkUnread(const TNcnUnreadRequestType, TRequestStatus &)

voidMarkUnread(const TNcnUnreadRequestTypeaRequest,
TRequestStatus &aRequestStatus
)[pure virtual]

Called by component wanting to make a request about marking certain new messages as unread. This is an asynchronic version.

Parameters

const TNcnUnreadRequestType aRequestThe request maker type (method caller), identifies what type of messages should be marked as unread and whether there has to be made checks for messages.
TRequestStatus & aRequestStatusRequest status.

MarkUnread(const TNcnUnreadRequestType, const TMsvId &)

TInt MarkUnread(const TNcnUnreadRequestTypeaRequest,
const TMsvId &aMailbox
)[pure virtual]

Called by component wanting to make a request about marking certain new messages as unread.

Parameters

const TNcnUnreadRequestType aRequestThe request maker type (method caller), identifies what type of messages should be marked as unread and whether there has to be made checks for messages.
const TMsvId & aMailbox

MarkUnread(const TNcnUnreadRequestType, const TMsvId &, TRequestStatus &)

voidMarkUnread(const TNcnUnreadRequestTypeaRequest,
const TMsvId &aMailbox,
TRequestStatus &aRequestStatus
)[pure virtual]

Called by component wanting to make a request about marking certain new messages as unread. This is an asynchronic version.

Parameters

const TNcnUnreadRequestType aRequestThe request maker type (method caller), identifies what type of messages should be marked as unread and whether there has to be made checks for messages.
const TMsvId & aMailbox
TRequestStatus & aRequestStatusRequest status.

NewMessages(const TNcnNotifMessageType)

TInt NewMessages(const TNcnNotifMessageTypeaType)[pure virtual]

Called by for example Email plugin(s) to inform NcnList that there's new message(s)

Parameters

const TNcnNotifMessageType aTypeThe message type for new message(s)

NewMessages(const TNcnNotifMessageType, const TMsvId &, const MDesCArray &)

TInt NewMessages(const TNcnNotifMessageTypeaType,
const TMsvId &aMailBox,
const MDesCArray &aInfo
)[pure virtual]

Called by for example Email plugin(s) to inform NcnList that there's new message(s). Parameter aInfo is reserved for future use and is not handled in any way currently.

Parameters

const TNcnNotifMessageType aTypeThe message type for new message(s)
const TMsvId & aMailBoxThe id for mail message type identifying mailbox or individual mail folder that contains new message(s)
const MDesCArray & aInfoOptional info about message (subject, sender etc.)