photosgallery/viewframework/medialists/inc/glxattributecontext.h
changeset 1 9ba538e329bd
parent 0 4e91876724a2
equal deleted inserted replaced
0:4e91876724a2 1:9ba538e329bd
    68 	
    68 	
    69 	/**
    69 	/**
    70 	 * Sets granularity of the item index array returned from AttributeRequestL
    70 	 * Sets granularity of the item index array returned from AttributeRequestL
    71 	 */
    71 	 */
    72 	IMPORT_C void SetGranularity(TUint aGranularity);
    72 	IMPORT_C void SetGranularity(TUint aGranularity);
       
    73 	
       
    74 	/**
       
    75 	 * Sets the default fetch specification. 
       
    76 	 * @param aWidth the width of required bitmap. 
       
    77 	 * @param aHeight the heigth of required bitmap. 
       
    78 	 */
       
    79 	IMPORT_C void SetDefaultSpec(TInt aWidth, TInt aHeight);
    73 
    80 
    74 public: // From MGlxFetchContext
    81 public: // From MGlxFetchContext
    75     /// See @ref MGlxFetchContext::AttributeRequestL
    82     /// See @ref MGlxFetchContext::AttributeRequestL
    76     TInt AttributeRequestL(const MGlxMediaList* aList, RArray<TInt>& aItemIndices, 
    83     TInt AttributeRequestL(const MGlxMediaList* aList, RArray<TInt>& aItemIndices, 
    77     	RArray<TMPXAttribute>& aAttributes, CMPXAttributeSpecs*& aDetailedSpecs) const;
    84     	RArray<TMPXAttribute>& aAttributes, CMPXAttributeSpecs*& aDetailedSpecs) const;
   112 	
   119 	
   113 	/** 
   120 	/** 
   114 	 * Granularity of the item index array returned from AttributeRequestL
   121 	 * Granularity of the item index array returned from AttributeRequestL
   115 	 */
   122 	 */
   116 	TUint iGranularity;
   123 	TUint iGranularity;
       
   124 	
       
   125 	/** Size of the default spec */
       
   126 	TSize iDefaultSpecSize;
   117 
   127 
   118 	/** Tester class */
   128 	/** Tester class */
   119 	friend class T_CGlxAttributeContext;
   129 	friend class T_CGlxAttributeContext;
   120 	};
   130 	};
   121 	
   131