diff -r 2c5162224003 -r fdb31ab341af mpengine/src/mpmpxcollectionframeworkwrapper.cpp --- a/mpengine/src/mpmpxcollectionframeworkwrapper.cpp Fri Apr 30 19:33:32 2010 -0500 +++ b/mpengine/src/mpmpxcollectionframeworkwrapper.cpp Fri May 14 18:54:37 2010 -0500 @@ -43,6 +43,13 @@ */ /*! + \fn void deleteStarted(); + + This signal is emitted when song delete operation is started + + */ + +/*! \fn void songsDeleted( bool success ) This signal is emitted when song delete operation is completed, it @@ -65,16 +72,22 @@ */ - +/*! + \fn void containerContentsChanged() + + This signal is emitted when items are removed or inserted on the current + container. + + */ /*! Constructs the utility wrapper. */ -MpMpxCollectionFrameworkWrapper::MpMpxCollectionFrameworkWrapper( MpCommon::MpViewMode viewMode, TUid hostUid, QObject *parent ) +MpMpxCollectionFrameworkWrapper::MpMpxCollectionFrameworkWrapper( TUid hostUid, QObject *parent ) : QObject( parent ) { d_ptr = new MpMpxCollectionFrameworkWrapperPrivate( this ); - d_ptr->init( viewMode, hostUid ); + d_ptr->init( hostUid ); } /*! @@ -207,6 +220,22 @@ } /*! + Finds all songs beloging to the album specified by the \a index. + */ +void MpMpxCollectionFrameworkWrapper::findAlbumSongs( int index ) +{ + d_ptr->findAlbumSongs(index); +} + +/*! + Plays album with \a albumIndex starting with the songs with \a songIndex. +*/ +void MpMpxCollectionFrameworkWrapper::playAlbumSongs( int albumIndex, int songIndex, MpMpxCollectionData* collectionData ) +{ + d_ptr->playAlbumSongs( albumIndex, songIndex, collectionData ); +} + +/*! Returns pointer to MpMpxCollectionData, which is the collection data. */ MpMpxCollectionData *MpMpxCollectionFrameworkWrapper::collectionData() @@ -234,4 +263,28 @@ d_ptr->reorderPlaylist( playlistId, songId, originalOrdinal, newOrdinal ); } +/*! + Called to set the repeat feature to \a enable + */ +void MpMpxCollectionFrameworkWrapper::setRepeatFeatureEnabled( bool enable ) +{ + d_ptr->setRepeatFeatureEnabled( enable ); +} +/*! + Called to set the shuffle feature to \a enable + */ +void MpMpxCollectionFrameworkWrapper::setShuffleFeatureEnabled( bool enable ) +{ + d_ptr->setShuffleFeatureEnabled( enable ); +} + +/*! + Cancels CollectionUiHelper request. + */ +void MpMpxCollectionFrameworkWrapper::cancelRequest() +{ + d_ptr->cancel(); +} + +//EOF