Support for clarity detecting track additions
authorphantomjinx <p.g.richardson@phantomjinx.co.uk>
Wed, 31 Aug 2011 20:40:54 +0000 (21:40 +0100)
committerphantomjinx <p.g.richardson@phantomjinx.co.uk>
Wed, 31 Aug 2011 20:40:54 +0000 (21:40 +0100)
commitb7c9145bde1fb59feb7196478ddba4441cf01f15
tree23b4e7668717c3cd6e34fae2098bdcfb134a7361
parentb8f951bca3bd3697741c27c2f62adb834843bfef
Support for clarity detecting track additions

* album_model.*
 * Changes to API adding functions for getting the index of an album item
   given an album item or track.
 * Include the album item index in the album_model_foreach function,
   avoiding the need to the canvas to refind the index which is a potential
   bottle neck.

* clarity_canvas
 * Remove the threading as serves little purpose.
 * Modifications supporting canvas add album item function

* clarity_widget
 * callback for track added completed
plugins/clarity/album_model.c
plugins/clarity/album_model.h
plugins/clarity/clarity_canvas.c
plugins/clarity/clarity_canvas.h
plugins/clarity/clarity_widget.c