CMessageIterator Class Reference
class CMessageIterator : public CBase |
Message Iterator Utility Class Typically used by message editors to implement next and previous message menu options. Class is an observer of the parent of the current entry, so it does handle changes in the children list. Class does not handle other external events e.g. deletion of parent.
Constructor & Destructor Documentation
CMessageIterator()
CMessageIterator | ( | ) | [private] |
~CMessageIterator()
IMPORT_C | ~CMessageIterator | ( | ) | |
Member Functions Documentation
ConstructL(CMsvSession &, const TMsvEntry &)
CurrentMessage()
IMPORT_C const TMsvEntry & | CurrentMessage | ( | ) | const |
CurrentMessageIndex()
IMPORT_C TInt | CurrentMessageIndex | ( | ) | const |
CurrentParent()
IMPORT_C const TMsvEntry & | CurrentParent | ( | ) | const |
HandleEntryEventL(TMsvEntryEvent, TAny *, TAny *, TAny *)
void | HandleEntryEventL | ( | TMsvEntryEvent | aEvent, |
| TAny * | aArg1, |
| TAny * | aArg2, |
| TAny * | aArg3 |
| ) | |
Parameters
TMsvEntryEvent aEvent | |
TAny * aArg1 | |
TAny * aArg2 | |
TAny * aArg3 | |
MessagesInFolder()
IMPORT_C TInt | MessagesInFolder | ( | ) | const |
NewL(CMsvSession &, const TMsvEntry &)
NextMessageExists()
IMPORT_C TBool | NextMessageExists | ( | ) | const |
OpenCurrentMessageL(TRequestStatus &, TBool)
PreviousMessageExists()
IMPORT_C TBool | PreviousMessageExists | ( | ) | const |
SetCurrentMessageL(const TMsvEntry &)
IMPORT_C void | SetCurrentMessageL | ( | const TMsvEntry & | aCurrentMessage | ) | |
SetMessageIteratorObserver(MMessageIteratorObserver *)
SetNextMessage()
IMPORT_C TInt | SetNextMessage | ( | ) | |
Changes current message to next
SetPreviousMessage()
IMPORT_C TInt | SetPreviousMessage | ( | ) | |
Changes current message to previous
UpdateChildrenOfParentL(TMsvId)
void | UpdateChildrenOfParentL | ( | TMsvId | aCurrentMessageId | ) | [private] |
Member Data Documentation
CMsvEntrySelection * iChildrenOfParent
TInt
iCurrentIndex
TInt
| iCurrentIndex | [private] |
TBool
iEntryObserver
TBool
| iEntryObserver | [private] |
MMessageIteratorObserver * iMessageIteratorObserver
CMsvEntry * iParentOfCurrent
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.