queue/Listener: add noexcept
This commit is contained in:
parent
8fef4af7b2
commit
57de2470f1
@ -115,19 +115,19 @@ Partition::BorderPause()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Partition::OnQueueModified()
|
Partition::OnQueueModified() noexcept
|
||||||
{
|
{
|
||||||
EmitIdle(IDLE_PLAYLIST);
|
EmitIdle(IDLE_PLAYLIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Partition::OnQueueOptionsChanged()
|
Partition::OnQueueOptionsChanged() noexcept
|
||||||
{
|
{
|
||||||
EmitIdle(IDLE_OPTIONS);
|
EmitIdle(IDLE_OPTIONS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Partition::OnQueueSongStarted()
|
Partition::OnQueueSongStarted() noexcept
|
||||||
{
|
{
|
||||||
EmitIdle(IDLE_PLAYER);
|
EmitIdle(IDLE_PLAYER);
|
||||||
}
|
}
|
||||||
|
@ -247,9 +247,9 @@ struct Partition final : QueueListener, PlayerListener, MixerListener {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
/* virtual methods from class QueueListener */
|
/* virtual methods from class QueueListener */
|
||||||
void OnQueueModified() override;
|
void OnQueueModified() noexcept override;
|
||||||
void OnQueueOptionsChanged() override;
|
void OnQueueOptionsChanged() noexcept override;
|
||||||
void OnQueueSongStarted() override;
|
void OnQueueSongStarted() noexcept override;
|
||||||
|
|
||||||
/* virtual methods from class PlayerListener */
|
/* virtual methods from class PlayerListener */
|
||||||
void OnPlayerSync() noexcept override;
|
void OnPlayerSync() noexcept override;
|
||||||
|
@ -25,19 +25,19 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Called after the queue has been modified.
|
* Called after the queue has been modified.
|
||||||
*/
|
*/
|
||||||
virtual void OnQueueModified() = 0;
|
virtual void OnQueueModified() noexcept = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called after a playback options have been changed.
|
* Called after a playback options have been changed.
|
||||||
*/
|
*/
|
||||||
virtual void OnQueueOptionsChanged() = 0;
|
virtual void OnQueueOptionsChanged() noexcept = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called after the player has started playing a new song.
|
* Called after the player has started playing a new song.
|
||||||
* This gets called by playlist::SyncWithPlayer() after it has
|
* This gets called by playlist::SyncWithPlayer() after it has
|
||||||
* been notified by the player thread.
|
* been notified by the player thread.
|
||||||
*/
|
*/
|
||||||
virtual void OnQueueSongStarted() = 0;
|
virtual void OnQueueSongStarted() noexcept = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user