summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsbase.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-12 20:09:45 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-12 20:11:20 +0200
commit4ea3f9ff2a0bcfda4e91c402447fa7a1a8d717f7 (patch)
tree78d99d7c9c85a9e78db02095d4b8296d03d6682c /rbutil/rbutilqt/base/ttsbase.h
parentbf6abf7b38d2dcf52515e260c4f725a70392f7fd (diff)
downloadrockbox-4ea3f9ff2a0bcfda4e91c402447fa7a1a8d717f7.tar.gz
rockbox-4ea3f9ff2a0bcfda4e91c402447fa7a1a8d717f7.tar.bz2
rockbox-4ea3f9ff2a0bcfda4e91c402447fa7a1a8d717f7.zip
Move include to proper place and do some code police.
Change-Id: I74a32e44ead18651a22a3a5038415808cbde6c39
Diffstat (limited to 'rbutil/rbutilqt/base/ttsbase.h')
-rw-r--r--rbutil/rbutilqt/base/ttsbase.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/base/ttsbase.h b/rbutil/rbutilqt/base/ttsbase.h
index 49983333ff..125fe49ff4 100644
--- a/rbutil/rbutilqt/base/ttsbase.h
+++ b/rbutil/rbutilqt/base/ttsbase.h
@@ -23,10 +23,6 @@
#define TTSBASE_H
#include <QtCore>
-#include <QProcess>
-#include <QDateTime>
-#include <QRegExp>
-#include <QTcpSocket>
#include "encttssettings.h"
@@ -45,23 +41,23 @@ class TTSBase : public EncTtsSettingInterface
virtual bool start(QString *errStr) =0;
//! 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;
+ virtual bool configOk()=0;
//! Child class should generate and insertSetting(..) its settings
virtual void generateSettings() = 0;
//! Chlid class should commit the Settings to permanent storage
virtual void saveSettings() = 0;
-
+
virtual Capabilities capabilities() = 0;
// static functions
static TTSBase* getTTS(QObject* parent,QString ttsname);
static QStringList getTTSList();
static QString getTTSName(QString tts);
-
+
private:
//inits the tts List
static void initTTSList();