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