player/Listener: add "noexcept"
This commit is contained in:
parent
a6910313b4
commit
520c520512
@ -118,13 +118,13 @@ Partition::OnQueueSongStarted()
|
||||
}
|
||||
|
||||
void
|
||||
Partition::OnPlayerSync()
|
||||
Partition::OnPlayerSync() noexcept
|
||||
{
|
||||
EmitGlobalEvent(SYNC_WITH_PLAYER);
|
||||
}
|
||||
|
||||
void
|
||||
Partition::OnPlayerTagModified()
|
||||
Partition::OnPlayerTagModified() noexcept
|
||||
{
|
||||
EmitGlobalEvent(TAG_MODIFIED);
|
||||
}
|
||||
|
@ -232,8 +232,8 @@ private:
|
||||
void OnQueueSongStarted() override;
|
||||
|
||||
/* virtual methods from class PlayerListener */
|
||||
void OnPlayerSync() override;
|
||||
void OnPlayerTagModified() override;
|
||||
void OnPlayerSync() noexcept override;
|
||||
void OnPlayerTagModified() noexcept override;
|
||||
|
||||
/* virtual methods from class MixerListener */
|
||||
void OnMixerVolumeChanged(Mixer &mixer, int volume) override;
|
||||
|
@ -25,12 +25,12 @@ public:
|
||||
/**
|
||||
* Must call playlist_sync().
|
||||
*/
|
||||
virtual void OnPlayerSync() = 0;
|
||||
virtual void OnPlayerSync() noexcept = 0;
|
||||
|
||||
/**
|
||||
* The current song's tag has changed.
|
||||
*/
|
||||
virtual void OnPlayerTagModified() = 0;
|
||||
virtual void OnPlayerTagModified() noexcept = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user