2
// SPEAK plugin for KVirc 1.1 Phoenix.
4
// This plugin enables you to use IBM's ViaVoiceOutloud to speak
5
// messages to you. Messages that are directed to you, over the
6
// Relay Chat, can be spoken outloud or sentences spoken by specific
7
// people can also heard outloud.
9
// To use the plugin, one needs to have a working IBM ViaVoice
10
// Outloud, which can be retrieved from IBM's site. For information
11
// about IBM ViaVoice http://www-4.ibm.com/software/speech/dev/
13
// Copyright (C) �rn E. Hansen (oe.hansen@gamma.telenordia.se)
14
// Copyright (C) Szymon Stefanek (stefanek@tin.it)
16
// This program is FREE software. You can redistribute it and/or
17
// modify it under the terms of the GNU General Public License
18
// as published by the Free Software Foundation; either version 2
19
// of the License, or (at your opinion) any later version.
21
// This program is distributed in the HOPE that it will be USEFUL,
22
// but WITHOUT ANY WARRANTY; without even the implied warranty of
23
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
// See the GNU General Public License for more details.
26
// You should have received a copy of the GNU General Public License
27
// along with this program. If not, write to the Free Software Foundation,
28
// Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34
#include "setupData.h"
35
#include "smileyClassData.h"
36
#include "kvi_string.h"
60
class eciVoiceSetup : public eciSetupData {
69
void showAnnotations();
72
eciVoiceSetup(eci_user *,QWidget *p=0,const char* name=0);
75
void setup(eci_user *);
79
void genderValue(bool);
80
void volumeValue(int);
81
void pitchBaseValue(int);
90
void breathinessValue(int);
93
void pitchRangeValue(int);
94
void roughnessValue(int);
97
class smileyClass : public smileyClassData
102
bool _smileys_loaded;
104
void insertSmileys(QListView *, smileyNode *);
108
smileyClass(QWidget *parent = NULL, const char *name = NULL);
109
virtual ~smileyClass();
123
void selectShortHand(QListViewItem*);
126
class smileyNode : public Node
130
KviStr _key, _english;
133
smileyNode(const QString&,const QString&,bool);
134
smileyNode(const KviStr&,const KviStr&,bool);
137
KviStr Key() { return _key; };
138
const KviStr& English() { return _english; };
139
bool CaseSense() { return _caseSense; };
141
int Compare(smileyNode *p) { return Compare(p->Key()); };
142
int Compare(Node *p) { return Compare((smileyNode *)p); };
144
int Compare(const KviStr&);