ui/uiengine/medialists/inc/glxattributecontext.h
changeset 24 99ad1390cd33
parent 23 74c9f037fd5d
equal deleted inserted replaced
23:74c9f037fd5d 24:99ad1390cd33
   155 
   155 
   156 private:
   156 private:
   157 	TGlxFromFocusOutwardIterator iFromFocusIterator;	
   157 	TGlxFromFocusOutwardIterator iFromFocusIterator;	
   158 	};
   158 	};
   159 	
   159 	
       
   160 /**
       
   161  *  CGlxDefaultListAttributeContext
       
   162  *
       
   163  *  Fetch context to retrieve MPX attributes by using TGlxFromFocusOutwardListIterator
       
   164  *  iterator specially designed for list in 10.1
       
   165  *
       
   166  *  @lib glxmedialists.lib
       
   167  */
       
   168 class CGlxDefaultListAttributeContext : public CGlxAttributeContext
       
   169     {
       
   170 public:
       
   171     IMPORT_C static CGlxDefaultListAttributeContext* NewL();
       
   172     IMPORT_C ~CGlxDefaultListAttributeContext();
       
   173 
       
   174     /**
       
   175      * Set the range offsets. These determine the outer limits
       
   176      * of attributes to be retrieved, compared to current focus in
       
   177      * the list.
       
   178      * 
       
   179      * NOTE : This works on Visible WindowIndex and not FocusIndex
       
   180      * 
       
   181      */
       
   182     IMPORT_C void SetRangeOffsets(TInt aFrontOffset, TInt aRearOffset);
       
   183 
       
   184 private:
       
   185     CGlxDefaultListAttributeContext();
       
   186 
       
   187 private:
       
   188     TGlxFromVisibleIndexOutwardListIterator iFromVisibleIndexIterator;    
       
   189     };
       
   190 
   160 #endif // C_GLXATTRIBUTECONTEXT_H
   191 #endif // C_GLXATTRIBUTECONTEXT_H
   161 
   192