Ref T535, added supervisor notifcation sound

This commit is contained in:
Klaus Basan
2019-02-10 01:22:58 +01:00
committed by Mat Sutcliffe
parent bb7e81420c
commit a01f2e36a0
3 changed files with 12 additions and 7 deletions

View File

@@ -42,16 +42,17 @@ namespace BlackMisc
NotificationLogin = 1 << 1,
NotificationLogoff = 1 << 2,
NotificationTextMessagePrivate = 1 << 3,
NotificationTextCallsignMentioned = 1 << 4,
NotificationVoiceRoomJoined = 1 << 5,
NotificationVoiceRoomLeft = 1 << 6,
PTTClick = 1 << 7,
LoadSounds = 1 << 8, //!< end marker and force loading of sounds, keep as last element
AllTextNotifications = NotificationTextMessagePrivate | NotificationTextCallsignMentioned,
NotificationTextMessageSupervisor = 1 << 4,
NotificationTextCallsignMentioned = 1 << 5,
NotificationVoiceRoomJoined = 1 << 6,
NotificationVoiceRoomLeft = 1 << 7,
PTTClick = 1 << 8,
LoadSounds = 1 << 9, //!< end marker and force loading of sounds, keep as last element
AllTextNotifications = NotificationTextMessagePrivate | NotificationTextCallsignMentioned | NotificationTextMessageSupervisor,
AllLoginNotifications = NotificationLogin | NotificationLogoff,
AllVoiceRoomNotifications = NotificationVoiceRoomJoined | NotificationVoiceRoomLeft,
AllNotifications = NotificationError | AllTextNotifications | AllLoginNotifications | AllVoiceRoomNotifications,
DefaultNotifications = NotificationError | NotificationTextMessagePrivate | AllLoginNotifications | AllVoiceRoomNotifications,
DefaultNotifications = NotificationError | AllTextNotifications | AllLoginNotifications | AllVoiceRoomNotifications,
All = AllNotifications | PTTClick
};
Q_DECLARE_FLAGS(Notification, NotificationFlag)