photosgallery/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmdscommand.cpp
equal
deleted
inserted
replaced
637 // Set destination file name to destination 'root' path |
637 // Set destination file name to destination 'root' path |
638 RootPath(aDrive, destinationFileName); |
638 RootPath(aDrive, destinationFileName); |
639 // Append the file name |
639 // Append the file name |
640 destinationFileName.Append(fileNameWithoutRoot); |
640 destinationFileName.Append(fileNameWithoutRoot); |
641 |
641 |
642 /// @todo minor: Rowland Cook 12/06/2007 majic number. |
|
643 if (destinationFileName.CompareF(sourceFileName) != 0) |
642 if (destinationFileName.CompareF(sourceFileName) != 0) |
644 { |
643 { |
645 // If source and destination are not identical, perform the copy. |
644 // If source and destination are not identical, perform the copy. |
646 if (BaflUtils::FileExists(rfs, destinationFileName)) |
645 if (BaflUtils::FileExists(rfs, destinationFileName)) |
647 { |
646 { |
768 // ---------------------------------------------------------------------------- |
767 // ---------------------------------------------------------------------------- |
769 // |
768 // |
770 TInt CGlxDataSourceTaskMdeCommand::ContainerObjectDef(CMdEObjectDef*& aContainerObjectDef) |
769 TInt CGlxDataSourceTaskMdeCommand::ContainerObjectDef(CMdEObjectDef*& aContainerObjectDef) |
771 { |
770 { |
772 TRACER("CGlxDataSourceTaskMdeCommand::ContainerObjectDef()"); |
771 TRACER("CGlxDataSourceTaskMdeCommand::ContainerObjectDef()"); |
773 //__ASSERT_DEBUG( (iCollectionUid == TUid::Uid(KGlxTagCollectionPluginImplementationUid) |
|
774 //|| iCollectionUid == TUid::Uid(KGlxCollectionPluginAlbumsImplementationUid)), Panic(EGlxPanicInvalidCollectionUid)); |
|
775 TInt err = KErrNone; |
772 TInt err = KErrNone; |
776 if (iCollectionUid == TUid::Uid(KGlxTagCollectionPluginImplementationUid)) |
773 if (iCollectionUid == TUid::Uid(KGlxTagCollectionPluginImplementationUid)) |
777 { |
774 { |
778 aContainerObjectDef = &DataSource()->TagDef(); |
775 aContainerObjectDef = &DataSource()->TagDef(); |
779 } |
776 } |