49 /** |
49 /** |
50 * Two-phased constructor. |
50 * Two-phased constructor. |
51 * |
51 * |
52 * @return Pointer to newly created object. NULL if creation fails. Avoiding Leave as would be called by a QT wrapper Class |
52 * @return Pointer to newly created object. NULL if creation fails. Avoiding Leave as would be called by a QT wrapper Class |
53 */ |
53 */ |
54 static GlxMLWrapperPrivate* Instance(GlxMLWrapper* aMLWrapper, int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri); |
54 static GlxMLWrapperPrivate* Instance(GlxMLWrapper* aMLWrapper, int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri,GlxFetcherFilterType fetcherFilterType); |
55 /** |
55 /** |
56 * Destructor. |
56 * Destructor. |
57 */ |
57 */ |
58 ~GlxMLWrapperPrivate(); |
58 ~GlxMLWrapperPrivate(); |
59 /** |
59 /** |
147 GlxMLWrapperPrivate(GlxMLWrapper* aMLWrapper); |
147 GlxMLWrapperPrivate(GlxMLWrapper* aMLWrapper); |
148 |
148 |
149 /** |
149 /** |
150 * By default Symbian 2nd phase constructor is private. |
150 * By default Symbian 2nd phase constructor is private. |
151 */ |
151 */ |
152 void ConstructL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri=NULL); |
152 void ConstructL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri=NULL,GlxFetcherFilterType fetcherFilterType = EGlxFetcherFilterNone); |
153 /** |
153 /** |
154 * Create an instance of Media List. |
154 * Create an instance of Media List. |
155 * |
155 * |
156 * @leave with error code if creation fails. |
156 * @leave with error code if creation fails. |
157 */ |
157 */ |
158 void CreateMediaListL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType); |
158 void CreateMediaListL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,GlxFetcherFilterType fetcherFilterType = EGlxFetcherFilterNone); |
159 void CreateMediaListAlbumItemL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType); |
159 void CreateMediaListAlbumItemL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,GlxFetcherFilterType fetcherFilterType); |
160 void CreateMediaListFavoritesItemL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri); |
160 void CreateMediaListFavoritesItemL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri); |
161 void SetThumbnailContextL(GlxContextMode aContextMode); |
161 void SetThumbnailContextL(GlxContextMode aContextMode); |
162 void SetListContextL(GlxContextMode aContextMode); |
162 void SetListContextL(GlxContextMode aContextMode); |
163 void SetFavouriteContextL(); |
163 void SetFavouriteContextL(); |
164 void CreateGridContextL(); |
164 void CreateGridContextL(); |