summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsbase.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-09-26 21:28:05 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-09-26 21:28:05 +0000
commitfe3eadffba810be2666435d68b929027130d47ed (patch)
tree4c47fef3017b76c28f1697e304062cdadd6dd1e2 /rbutil/rbutilqt/base/ttsbase.h
parentc7c657ca9264b1bc7dc313a92e285128fc9ffea3 (diff)
downloadrockbox-fe3eadffba810be2666435d68b929027130d47ed.tar.gz
rockbox-fe3eadffba810be2666435d68b929027130d47ed.tar.bz2
rockbox-fe3eadffba810be2666435d68b929027130d47ed.zip
Rockbox Utility TTS: implement reading TTS vendor.
Support retrieving the vendor name of the TTS. This will be used by TTS string corrections. Currently no other TTS but SAPI supports this, and only correction strings for SAPI voices depend on the vendor information. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/ttsbase.h')
-rw-r--r--rbutil/rbutilqt/base/ttsbase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/ttsbase.h b/rbutil/rbutilqt/base/ttsbase.h
index c6bbdcfb0b..fdd2c98344 100644
--- a/rbutil/rbutilqt/base/ttsbase.h
+++ b/rbutil/rbutilqt/base/ttsbase.h
@@ -47,6 +47,7 @@ class TTSBase : public EncTtsSettingInterface
//! child class should stop
virtual bool stop() =0;
+ virtual QString voiceVendor(void) = 0;
// configuration
//! Child class should return true, when configuration is good
virtual bool configOk()=0;
@@ -60,7 +61,7 @@ class TTSBase : public EncTtsSettingInterface
// static functions
static TTSBase* getTTS(QObject* parent,QString ttsname);
static QStringList getTTSList();
- static QString getTTSName(QString tts);
+ static QString getTTSName(QString tts);
private:
//inits the tts List