Skip to content

Commit

Permalink
Improve the comment of getDeckBase()
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jan 3, 2025
1 parent 9c24d1a commit c89f06e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mixer/playermanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class PlayerManagerInterface {
virtual BaseTrackPlayer* getPlayer(const QString& group) const = 0;
virtual BaseTrackPlayer* getPlayer(const ChannelHandle& channelHandle) const = 0;

// Get the deck by its deck index
// Get the deck as BaseTrackPlayer by its deck index
// to allow unit test to return a mocked Deck
virtual BaseTrackPlayer* getDeckBase(int deckIndex) const = 0;

virtual int numberOfDecks() const = 0;
Expand Down

0 comments on commit c89f06e

Please sign in to comment.