--- a/ui/uiengine/medialists/inc/glxattributecontext.h Fri Mar 19 09:28:59 2010 +0200
+++ b/ui/uiengine/medialists/inc/glxattributecontext.h Fri Apr 16 14:58:46 2010 +0300
@@ -157,5 +157,36 @@
TGlxFromFocusOutwardIterator iFromFocusIterator;
};
+/**
+ * CGlxDefaultListAttributeContext
+ *
+ * Fetch context to retrieve MPX attributes by using TGlxFromFocusOutwardListIterator
+ * iterator specially designed for list in 10.1
+ *
+ * @lib glxmedialists.lib
+ */
+class CGlxDefaultListAttributeContext : public CGlxAttributeContext
+ {
+public:
+ IMPORT_C static CGlxDefaultListAttributeContext* NewL();
+ IMPORT_C ~CGlxDefaultListAttributeContext();
+
+ /**
+ * Set the range offsets. These determine the outer limits
+ * of attributes to be retrieved, compared to current focus in
+ * the list.
+ *
+ * NOTE : This works on Visible WindowIndex and not FocusIndex
+ *
+ */
+ IMPORT_C void SetRangeOffsets(TInt aFrontOffset, TInt aRearOffset);
+
+private:
+ CGlxDefaultListAttributeContext();
+
+private:
+ TGlxFromVisibleIndexOutwardListIterator iFromVisibleIndexIterator;
+ };
+
#endif // C_GLXATTRIBUTECONTEXT_H