Move DisplayServer enums and typedefs to DisplayServerEnums

This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
This commit is contained in:
Rémi Verschelde 2026-02-26 12:36:47 +01:00
parent 778cf54dab
commit a447ac95ec
No known key found for this signature in database
GPG key ID: C3336907360768E1
160 changed files with 4584 additions and 4520 deletions

View file

@ -30,13 +30,13 @@
#pragma once
#include "core/object/object.h"
#include "core/os/thread.h"
#include "core/os/thread_safe.h"
#include "core/string/ustring.h"
#include "core/templates/hash_map.h"
#include "core/templates/list.h"
#include "core/variant/array.h"
#include "servers/display/display_server.h"
#ifdef SOWRAP_ENABLED
#include "speechd-so_wrap.h"
@ -44,11 +44,13 @@
#include <libspeechd.h>
#endif
struct TTSUtterance;
class TTS_Linux : public Object {
GDSOFTCLASS(TTS_Linux, Object);
_THREAD_SAFE_CLASS_
List<DisplayServer::TTSUtterance> queue;
List<TTSUtterance> queue;
SPDConnection *synth = nullptr;
bool speaking = false;
bool paused = false;