void gui_playq_song_add_before ( struct vfsref vr  ) 

Add a song before the selected item in the playlist.

Definition at line 368 of file gui_playq.c.

00369 {
00370         struct vfsref *vr_selected;
00371 
00372         playq_lock();
00373         vr_selected = gui_vfslist_getselected(win_playq);
00374         if (vr_selected == vfs_list_first(&playq_list)) {
00375                 playq_unlock();
00376                 /* List is empty or adding before the first node */
00377                 playq_song_add_head(vr);
00378         } else {
00379                 playq_song_fast_add_before(vr, vr_selected,
00380                     gui_vfslist_getselectedidx(win_playq));
00381                 playq_unlock();
00382         }
00383 }

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:32 2010 for herrie by  doxygen 1.6.3