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()

void CancelMarkUnread ( ) [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 TNcnUnreadRequestType aRequest ) [pure virtual]

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

Parameters

const TNcnUnreadRequestType aRequest The 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 &)

void MarkUnread ( const TNcnUnreadRequestType aRequest,
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 aRequest The 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 & aRequestStatus Request status.

MarkUnread(const TNcnUnreadRequestType, const TMsvId &)

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

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

Parameters

const TNcnUnreadRequestType aRequest The 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 &)

void MarkUnread ( const TNcnUnreadRequestType aRequest,
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 aRequest The 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 & aRequestStatus Request status.

NewMessages(const TNcnNotifMessageType)

TInt NewMessages ( const TNcnNotifMessageType aType ) [pure virtual]

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

Parameters

const TNcnNotifMessageType aType The message type for new message(s)

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

TInt NewMessages ( const TNcnNotifMessageType aType,
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 aType The message type for new message(s)
const TMsvId & aMailBox The id for mail message type identifying mailbox or individual mail folder that contains new message(s)
const MDesCArray & aInfo Optional info about message (subject, sender etc.)