2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
14 namespace ANNOUNCEMENT
31 const auto ANNOUNCE_ALL
= (Player
| Playlist
| GUI
| System
| VideoLibrary
| AudioLibrary
| Application
| Input
| ANNOUNCEMENT::PVR
| Other
);
34 \brief Returns a string representation for the
35 given AnnouncementFlag
36 \param notification Specific AnnouncementFlag
37 \return String representation of the given AnnouncementFlag
39 inline const char *AnnouncementFlagToString(const AnnouncementFlag
¬ification
)
52 return "VideoLibrary";
54 return "AudioLibrary";
73 IAnnouncer() = default;
74 virtual ~IAnnouncer() = default;
75 virtual void Announce(AnnouncementFlag flag
,
76 const std::string
& sender
,
77 const std::string
& message
,
78 const CVariant
& data
) = 0;