equal
deleted
inserted
replaced
84 // ---------------------------------------------------------------------------- |
84 // ---------------------------------------------------------------------------- |
85 // Constructor |
85 // Constructor |
86 // ---------------------------------------------------------------------------- |
86 // ---------------------------------------------------------------------------- |
87 // |
87 // |
88 CMPXDbPlaylist::CMPXDbPlaylist( |
88 CMPXDbPlaylist::CMPXDbPlaylist( |
89 CMPXDbManager& aDbManager, |
89 CMPXDbManager& aDbManager, |
90 MMPXDbPlaylistObserver& aObserver) : |
90 MMPXDbPlaylistObserver& aObserver) : |
91 CMPXDbTable(aDbManager), |
91 CMPXDbTable(aDbManager), |
92 iObserver(aObserver) |
92 iObserver(aObserver) |
93 { |
93 { |
94 MPX_FUNC("CMPXDbPlaylist::CMPXDbPlaylist"); |
94 MPX_FUNC("CMPXDbPlaylist::CMPXDbPlaylist"); |
792 aMedia.SetTObjectValueL<TInt64>(KMPXMediaGeneralDate, |
792 aMedia.SetTObjectValueL<TInt64>(KMPXMediaGeneralDate, |
793 MPXDbCommonUtil::DesToTTimeL( |
793 MPXDbCommonUtil::DesToTTimeL( |
794 MPXDbCommonUtil::GetColumnTextL(aRecord, EPlaylistTime)).Int64()); |
794 MPXDbCommonUtil::GetColumnTextL(aRecord, EPlaylistTime)).Int64()); |
795 } |
795 } |
796 if ( attributeId & EMPXMediaGeneralDuration ) |
796 if ( attributeId & EMPXMediaGeneralDuration ) |
797 { |
797 { |
798 // make sure the PlaylistSongs query is executed after all fields |
798 // make sure the PlaylistSongs query is executed after all fields |
799 // from the current record have been processed, otherwise the recordset |
799 // from the current record have been processed, otherwise the recordset |
800 // may point to something else |
800 // may point to something else |
801 |
801 |
802 durationRequested = ETrue; |
802 durationRequested = ETrue; |
803 } |
803 } |
804 } // end if contentId == KMPXMediaIdGeneral |
804 } // end if contentId == KMPXMediaIdGeneral |
805 } // end for |
805 } // end for |