6#ifndef SWIFT_SOUND_NOTIFICATIONPLAYER_H
7#define SWIFT_SOUND_NOTIFICATIONPLAYER_H
12#include <QSoundEffect>
41 int m_playingEffectCounter = 0;
44 void onPlayingChanged();
~CNotificationPlayer()=default
Destructor.
CNotificationPlayer(QObject *parent=nullptr)
Constructor.
void updateDirectory(const QString &directory)
Update the directory.
void play(swift::misc::audio::CNotificationSounds::NotificationFlag notification, int volume=100)
Play notification sound.
QObject * parent() const const
NotificationFlag
Play notification.
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.