aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-10 10:49:29 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commitf78fc85f3a0c92245802098327425d21670d9479 (patch)
tree4ae190e34e8b90c6dd8ce5a5a0ecedcba62c691e /backends/text-to-speech
parentb1b03b18d35d59ad0d712c723a3d4f8c02dcfc18 (diff)
downloadscummvm-rg350-f78fc85f3a0c92245802098327425d21670d9479.tar.gz
scummvm-rg350-f78fc85f3a0c92245802098327425d21670d9479.tar.bz2
scummvm-rg350-f78fc85f3a0c92245802098327425d21670d9479.zip
TTS: Create a TTS skeleton
Diffstat (limited to 'backends/text-to-speech')
-rw-r--r--backends/text-to-speech/linux/linux-text-to-speech.cpp37
-rw-r--r--backends/text-to-speech/linux/linux-text-to-speech.h40
2 files changed, 77 insertions, 0 deletions
diff --git a/backends/text-to-speech/linux/linux-text-to-speech.cpp b/backends/text-to-speech/linux/linux-text-to-speech.cpp
new file mode 100644
index 0000000000..7a8e899595
--- /dev/null
+++ b/backends/text-to-speech/linux/linux-text-to-speech.cpp
@@ -0,0 +1,37 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
+#include "backends/text-to-speech/linux/linux-text-to-speech.h"
+
+#if defined(USE_LINUX_TTS)
+#include "common/translation.h"
+
+LinuxTextToSpeechManager::LinuxTextToSpeechManager() {
+}
+
+LinuxTextToSpeechManager::~LinuxTextToSpeechManager() {
+}
+
+#endif
diff --git a/backends/text-to-speech/linux/linux-text-to-speech.h b/backends/text-to-speech/linux/linux-text-to-speech.h
new file mode 100644
index 0000000000..ab9b2b6fe2
--- /dev/null
+++ b/backends/text-to-speech/linux/linux-text-to-speech.h
@@ -0,0 +1,40 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef BACKENDS_TEXT_TO_SPEECH_LINUX_H
+#define BACKENDS_TEXT_TO_SPEECH_LINUX_H
+
+#include "common/scummsys.h"
+
+#if defined(USE_LINUX_TTS)
+
+#include "common/text-to-speech.h"
+
+class LinuxTextToSpeechManager : public Common::TextToSpeechManager {
+public:
+ LinuxTextToSpeechManager();
+ virtual ~LinuxTextToSpeechManager();
+};
+
+#endif
+
+#endif // BACKENDS_UPDATES_LINUX_H