Use a nice apostroph
[kugel-rb.git] / rbutil / rbutilqt / base / ttsexes.h
blobc03beb7595c0a252643b5a6c78390a40ec57a310
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2009 by Dominik Wenger
10 * $Id$
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef TTSEXES_H
23 #define TTSEXES_H
25 #include "ttsbase.h"
27 class TTSExes : public TTSBase
29 enum ESettings
31 eEXEPATH,
32 eOPTIONS
35 Q_OBJECT
36 public:
37 TTSExes(QString name,QObject* parent=NULL);
38 TTSStatus voice(QString text, QString wavfile, QString *errStr);
39 bool start(QString *errStr);
40 bool stop() {return true;}
42 // for settings
43 void generateSettings();
44 void saveSettings();
45 bool configOk();
47 private:
48 QString m_name;
49 QString m_TTSexec;
50 QString m_TTSOpts;
51 QString m_TTSTemplate;
52 QMap<QString,QString> m_TemplateMap;
55 #endif