mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Move include to proper place and do some code police.
Change-Id: I74a32e44ead18651a22a3a5038415808cbde6c39
This commit is contained in:
parent
bf6abf7b38
commit
4ea3f9ff2a
2 changed files with 7 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtCore>
|
||||
#include <QTcpSocket>
|
||||
|
||||
#include "ttsfestival.h"
|
||||
#include "utils.h"
|
||||
#include "rbsettings.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue