![]() |
LeechCraft
0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
|
Interface for plugins able to fetch current tune. More...
#include "icurrentsongkeeper.h"
Public Member Functions | |
virtual | ~ICurrentSongKeeper () |
virtual AudioInfo | GetCurrentSong () const =0 |
Returns the information about the current song. More... | |
Protected Member Functions | |
virtual void | currentSongChanged (const AudioInfo &newTune)=0 |
Emitted when current song changes. More... | |
Interface for plugins able to fetch current tune.
Plugins that are able to fetch current tune from audio players, both internal to LeechCraft like LMP and external ones (via MPRIS for example) should implement this interface.
Definition at line 42 of file icurrentsongkeeper.h.
|
inlinevirtual |
Definition at line 45 of file icurrentsongkeeper.h.
|
protectedpure virtual |
Emitted when current song changes.
This signal should be emitted when the currently played tune is changed.
[out] | newTune | The new currently playing song. |
|
pure virtual |
Returns the information about the current song.