mpengine/src/mpmpxcollectionframeworkwrapper.cpp
changeset 43 0f32e550d9d8
parent 38 b93f525c9244
child 55 f3930dda3342
equal deleted inserted replaced
38:b93f525c9244 43:0f32e550d9d8
    89  */
    89  */
    90  
    90  
    91 /*!
    91 /*!
    92  Constructs the utility wrapper.
    92  Constructs the utility wrapper.
    93  */
    93  */
    94 MpMpxCollectionFrameworkWrapper::MpMpxCollectionFrameworkWrapper( TUid hostUid, QObject *parent )
    94 MpMpxCollectionFrameworkWrapper::MpMpxCollectionFrameworkWrapper( TUid hostUid, MpSongData *songData, QObject *parent )
    95     : QObject( parent )
    95     : QObject( parent )
    96 {
    96 {
    97     d_ptr = new MpMpxCollectionFrameworkWrapperPrivate( this );
    97     d_ptr = new MpMpxCollectionFrameworkWrapperPrivate( this );
    98     d_ptr->init( hostUid );
    98     d_ptr->init( hostUid, songData );
    99 }
    99 }
   100 
   100 
   101 /*!
   101 /*!
   102  Destructs the utility wrapper.
   102  Destructs the utility wrapper.
   103  */
   103  */
   294 {
   294 {
   295     d_ptr->openShuffleAllSongsPath();
   295     d_ptr->openShuffleAllSongsPath();
   296 }
   296 }
   297 
   297 
   298 /*!
   298 /*!
       
   299  Retrieves song details for the specified \a index.
       
   300  */
       
   301 void MpMpxCollectionFrameworkWrapper::retrieveSongDetails( int index )
       
   302 {
       
   303     d_ptr->retrieveSongDetails( index );
       
   304 }
       
   305 
       
   306 /*!
   299  Called to save playback data used for publishing activity (i.e. restore path) 
   307  Called to save playback data used for publishing activity (i.e. restore path) 
   300  */
   308  */
   301 void  MpMpxCollectionFrameworkWrapper::savePath( QByteArray &data )
   309 void  MpMpxCollectionFrameworkWrapper::savePath( QByteArray &data )
   302 {
   310 {
   303     d_ptr->savePath( data );
   311     d_ptr->savePath( data );