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