ocarina: Modifications for the new current_track() function

Without this patch ocarina/ won't compile...
This commit is contained in:
Bryan Schumaker 2011-12-30 19:48:04 -05:00
parent 4dac0fe096
commit 30c45f608f
1 changed files with 3 additions and 7 deletions

View File

@ -48,16 +48,12 @@ void cb_refilter()
ocarina::library::refilter();
}
void cb_track_loaded_helper(libsaria::Track *track)
{
change_footer(track);
ocarina::library::scroll_to(track);
}
void cb_track_loaded()
{
println("Ocarina TRACK_LOADED callback!");
libsaria::current_track(cb_track_loaded_helper);
libsaria::Track *current = libsaria::current_track();
change_footer(current);
ocarina::library::scroll_to(current);
}
void setup_callbacks()