getCurrentTrack()

Get information about the track currently selected for playback.

Synopsis:

#include <qplayer/qplayer.h>
 
void getCurrentTrack( CurrentTrackCommand *command );

Arguments:

command
A pointer to a CurrentTrackCommand object, which will hold information on the current track.

Description:

Get information about the track currently selected for playback. The library fills in the CurrentTrackCommand object referenced in command with information describing the current track. When your client receives the complete signal, it can call the result() function on this object to retrieve that information.