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:
parent
778cf54dab
commit
a447ac95ec
160 changed files with 4584 additions and 4520 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue