photosgallery/collectionframework/datasource/plugins/glxdatasourcemde2.5/inc/glxdatasourcemds.h
equal
deleted
inserted
replaced
283 static TInt ProcessItemUpdate(TAny* aPtr); |
283 static TInt ProcessItemUpdate(TAny* aPtr); |
284 void CreateSessionL(); |
284 void CreateSessionL(); |
285 |
285 |
286 static TInt CreateSession(TAny* aPtr); |
286 static TInt CreateSession(TAny* aPtr); |
287 |
287 |
288 void PrepareMonthsL(); |
|
289 void TaskCompletedL(); |
288 void TaskCompletedL(); |
290 |
289 |
291 void TaskStartedL(); |
290 void TaskStartedL(); |
292 |
291 |
293 #ifdef USE_S60_TNM |
292 #ifdef USE_S60_TNM |
327 inline CMdEObjectDef& AlbumDef() const; |
326 inline CMdEObjectDef& AlbumDef() const; |
328 |
327 |
329 inline CMdEObjectDef& MediaDef() const; |
328 inline CMdEObjectDef& MediaDef() const; |
330 inline CMdEObjectDef& TagDef() const; |
329 inline CMdEObjectDef& TagDef() const; |
331 |
330 |
332 /** |
|
333 * Return object definition used to describe months. |
|
334 * @return object definition used to describe months. |
|
335 */ |
|
336 inline CMdEObjectDef& MonthDef() const; |
|
337 |
|
338 inline CMdERelationDef& ContainsDef() const; |
331 inline CMdERelationDef& ContainsDef() const; |
339 |
332 |
340 inline CMdERelationDef& ContainsLocationDef() const; |
333 inline CMdERelationDef& ContainsLocationDef() const; |
341 |
334 |
342 /** |
335 /** |
349 |
342 |
350 TContainerType ContainerType(CMdEObjectDef* aObjectDef); |
343 TContainerType ContainerType(CMdEObjectDef* aObjectDef); |
351 |
344 |
352 TItemType ItemType(CMdEObject* aObject); |
345 TItemType ItemType(CMdEObject* aObject); |
353 |
346 |
354 const TGlxMediaId GetMonthIdL(const TTime& aMonth); |
|
355 |
|
356 TBool SameMonth(const TTime& aOldDate, const TTime& aNewDate); |
|
357 |
|
358 TBool ContainerIsLeft(CMdEObjectDef& aObjectDef); |
347 TBool ContainerIsLeft(CMdEObjectDef& aObjectDef); |
359 |
348 |
360 // from MGlxMDSShutdownObserver |
349 // from MGlxMDSShutdownObserver |
361 void ShutdownNotification(TInt aShutdownState); |
350 void ShutdownNotification(TInt aShutdownState); |
362 |
351 |
387 CMdEObjectDef* iImageDef; |
376 CMdEObjectDef* iImageDef; |
388 CMdEObjectDef* iVideoDef; |
377 CMdEObjectDef* iVideoDef; |
389 CMdEObjectDef* iAlbumDef; |
378 CMdEObjectDef* iAlbumDef; |
390 CMdEObjectDef* iMediaDef; |
379 CMdEObjectDef* iMediaDef; |
391 CMdEObjectDef* iTagDef; |
380 CMdEObjectDef* iTagDef; |
392 CMdEObjectDef* iMonthDef; |
|
393 /** |
381 /** |
394 * Location object definition. |
382 * Location object definition. |
395 */ |
383 */ |
396 CMdEObjectDef* iLocationDef; |
384 CMdEObjectDef* iLocationDef; |
397 CMdERelationDef* iContainsDef; |
385 CMdERelationDef* iContainsDef; |
398 CMdERelationDef* iContainsLocationDef; |
386 CMdERelationDef* iContainsLocationDef; |
399 |
387 |
400 RArray<TTime> iMonthArray; |
|
401 RArray<TGlxMediaId> iMonthList; |
|
402 RArray<TItemId> iAddedItems; |
388 RArray<TItemId> iAddedItems; |
403 |
|
404 TTime iFirstMonth; |
|
405 TTime iLastMonth; |
|
406 |
389 |
407 CAsyncCallBack* iUpdateCallback; |
390 CAsyncCallBack* iUpdateCallback; |
408 |
391 |
409 CAsyncCallBack* iCreateSessionCallback; |
392 CAsyncCallBack* iCreateSessionCallback; |
410 |
393 |