inc/mpplaybackdata.h
changeset 51 560ce2306a17
parent 43 0f32e550d9d8
child 59 cd9e40a08dda
equal deleted inserted replaced
47:4cc1412daed0 51:560ce2306a17
    74     void setPlaybackState( const SimplifiedState state );
    74     void setPlaybackState( const SimplifiedState state );
    75     MpPlaybackData::SimplifiedState playbackState() const;
    75     MpPlaybackData::SimplifiedState playbackState() const;
    76 
    76 
    77     void commitPlaybackInfo();
    77     void commitPlaybackInfo();
    78     void resetData();
    78     void resetData();
       
    79     void setCorrupted( int id );
    79     
    80     
    80 
    81 
    81 public slots:
    82 public slots:
    82 
    83 
    83     void thumbnailReady( const QPixmap& pixmap, void *data, int id, int error );
    84     void thumbnailReady( const QPixmap& pixmap, void *data, int id, int error );
    87     void durationChanged();
    88     void durationChanged();
    88     void positionChanged();
    89     void positionChanged();
    89     void albumArtReady();
    90     void albumArtReady();
    90     void playbackStateChanged();
    91     void playbackStateChanged();
    91     void playbackInfoChanged();
    92     void playbackInfoChanged();
       
    93     void fileCorrupted(int id );
    92     
    94     
    93 private:
    95 private:
    94 
    96 
    95     ThumbnailManager         *mThumbnailManager; //owned
    97     ThumbnailManager         *mThumbnailManager; //owned
    96     int                      mReqId;
    98     int                      mReqId;