MAiContentItemIterator Class Reference
class MAiContentItemIterator |
Abstract interface which provides services to iterate content items supported by the plug-in. Only used by the Active Idle Framework. Each plug-in must provide implementation of interface to access: content selectors, content references, and events. Instances of interface are accessed through method GetProperty in interface CAiContentPublisher.
Constructor & Destructor Documentation
~MAiContentItemIterator()
~MAiContentItemIterator | ( | ) | [protected, inline] |
Protected destructor prevents deletion through this interface.
Member Functions Documentation
Cleanup(TAny *)
void | Cleanup | ( | TAny * | aSelf | ) | [private, static, inline] |
HasNext()
TBool
| HasNext | ( | ) | const [pure virtual] |
Tests if this enumeration contains more elements.
ItemL(TInt)
Returns the first element of this iterator which matches aId.
-
leave
- KErrNotFound if element matching aId is not found from the complete iterator range.
Parameters
TInt aId | - unique identification of the content item, corresponds to TAiContentItem::id. |
ItemL(const TDesC &)
Returns the first element of this iterator which matches aCid.
-
leave
- KErrNotFound if element matching aCid is not found from the complete iterator range.
Parameters
const TDesC & aCid | - textual identification of the content item, corresponds to TAiContentItem::cid. |
NextL()
Returns the next element of this iterator if this enumeration object has at least one more element to provide.
-
leave
- KErrOverflow if iterator is at the end of range.
Release()
void | Release | ( | ) | [pure virtual] |
Reset()
void | Reset | ( | ) | [pure virtual] |
Resets iterator to the first item in the list.
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.