interfaces
kspeechsink.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00037 #ifndef _KSPEECHSINK_H_
00038 #define _KSPEECHSINK_H_
00039
00040 #include <dcopobject.h>
00041
00042 class KSpeechSink : virtual public DCOPObject {
00043 K_DCOP
00044
00045 public:
00050 enum kttsdJobState
00051 {
00052 jsQueued = 0,
00053 jsSpeakable = 1,
00054 jsSpeaking = 2,
00055 jsPaused = 3,
00056 jsFinished = 4
00057 };
00058
00063 enum kttsdMarkupType
00064 {
00065 mtPlain = 0,
00066 mtJsml = 1,
00067 mtSmml = 2,
00068 mtSable = 3
00069 };
00070
00071 k_dcop:
00075 virtual ASYNC kttsdStarted() { };
00079 virtual ASYNC kttsdExiting() { };
00080
00087 virtual ASYNC markerSeen(const QCString& appId, const QString& markerName) { Q_UNUSED(appId); Q_UNUSED(markerName); };
00095 virtual ASYNC sentenceStarted(const QCString& appId, uint jobNum, uint seq) { Q_UNUSED(appId); Q_UNUSED(jobNum); Q_UNUSED(seq); };
00103 virtual ASYNC sentenceFinished(const QCString& appId, uint jobNum, uint seq) { Q_UNUSED(appId); Q_UNUSED(jobNum); Q_UNUSED(seq); };
00104
00110 virtual ASYNC textSet(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00111
00119 virtual ASYNC textAppended(const QCString& appId, uint jobNum, int partNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); Q_UNUSED(partNum); };
00120
00126 virtual ASYNC textStarted(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00136 virtual ASYNC textFinished(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00142 virtual ASYNC textStopped(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00148 virtual ASYNC textPaused(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00154 virtual ASYNC textResumed(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00161 virtual ASYNC textRemoved(const QCString& appId, uint jobNum) { Q_UNUSED(appId); Q_UNUSED(jobNum); };
00162 };
00163
00164 #endif // _KSPEECHSINK_H_