mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
26 lines
439 B
C++
26 lines
439 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
namespace devilution {
|
|
|
|
#ifdef SCREEN_READER_INTEGRATION
|
|
void InitializeScreenReader();
|
|
void ShutDownScreenReader();
|
|
void SpeakText(std::string_view text, bool force = false);
|
|
#else
|
|
constexpr void InitializeScreenReader()
|
|
{
|
|
}
|
|
|
|
constexpr void ShutDownScreenReader()
|
|
{
|
|
}
|
|
|
|
constexpr void SpeakText(std::string_view text, bool force = false)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
} // namespace devilution
|